Skip to content

CS508 - Modern Programming Languages

2 Topics 138 Posts
  • Please share mid term past papers

    Pinned mid term spring 2019 solved papers
    12
    0 Votes
    12 Posts
    3k Views
    M
    Smalltalk was the first purest ______ language and pioneered graphical user interface. Object Oriented Which of the following is the incorrect option form the following statements regarding ‘objectives of learning new languages’ ? Help in understanding the language privacy policy. Binary operator in SNOBOL must has at least _____ spaces on both sides. 1 A space is used as ______ for concatenation. Operator Sign is used for ______ in SONOBOL. Line Continuation Following are some of the reasons for studying concepts related to different programming languages EXCEPT Increased capability to design communication links COBOL was the first language that brings the concept of _________ . Structure A language evaluation criteria includes following factor EXCEPT Modularity
  • CS508 Assignment 1
 Solution and Discussion

    Solved cs508 assignment 1 solution discussion spring 2020
    3
    0 Votes
    3 Posts
    2k Views
    zaasmiZ
    https://www.youtube.com/watch?v=suvkPZTheK0 Solution 100% outer = 1 OUTLOOP OUTPUT = 'Outer ' outer outer = outer + 1 iner = 1 INLOOP OUTPUT = 'Iner ' iner iner = iner + 1 LE(iner, 22) : S(INLOOP) LE(outer, 11) : S(OUTLOOP) OUTPUT = 'My id is BC120401122' END
  • 1 Votes
    9 Posts
    2k Views
    zareenZ
    Solution: Java: public class MyClass { public static void main(String args[]) { System.out.println("My id is BC180401429"); System.out.println("** Language is JAVA **"); for(int i=0;i<=14;i++){ for(int j=0;j<=29;j++){ System.out.print("Outer:"+i+"Inner:"+j); } } } } [image: 8P6CdT9.png] C#: using System; class Program { static void Main() { Console.WriteLine("My id is BC180401429"); Console.WriteLine("** Language is C# **"); for(int i=0;i<=14;i++){ for(int j=0;j<=29;j++){ Console.Write("Outer:"+i+"Inner:"+j); } } } } [image: Vf2OntD.png] C++: #include <iostream> using namespace std; int main() { cout<< "My id is BC180401429 \n"; cout<< "** Language is C++ ** \n"; for(int i=0;i<=14;i++){ for(int j=0;j<=29;j++){ cout<< "Outer:"<<i<<"Inner:"<<j; } } } [image: vWPXez6.png]
How to Build a $1,000/Month PAK VS BAN Live Live Cricket Streaming
File Sharing

1

Online

3.0k

Users

2.8k

Topics

8.2k

Posts
| |