We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Looking For Something at Site? Search Below

CS508 Final Term Papers Spring 2020 & Past Solved Papers, MCQs for Exam Preparation

 

CS508 Share Your Current Final Term Papers Spring 2020 (05 September 2020 Onward) (Questions/Pattern) & Past Papers as well here to help each other. Thanks

 

 

CS508 Solved MCQs, Short Notes, Solved Past Papers, Solved Online Quizzes, E-Books, FAQs, Short Questions Answers & More. You must view all the featured Discussions one by one in this subject group by clicking on the below link

CS508

View All Featured Discussions


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)


Views: 573

Replies to This Discussion

CS508 Solved MCQs, Short Notes, Solved Past Papers, Solved Online Quizzes, E-Books, FAQs, Short Questions Answers & More. You must view all the featured Discussions one by one in this subject group by clicking on the below link

CS508

View All Featured Discussions

CS508_Latest_Solved_MCQs_2020

Click on the below link to download the file

CS508_Latest_Solved_MCQs_2020

CS508 VU Current Final Term Papers Spring 2020 (10 September onward)  

Q1) Explain Jagged Arrays in case of C# with example. (3 marks)
Q2) What is meant by compound terms (structures) in PROLOG? Give any example. (3)
Q3) What will be the output of the following C# code? (3)
using System;
public class HelloWorld
{
    public static void Main()
    {
string s1 = "hello";
string s2 = s1;
s1 = “world”;
Console.WriteLine(s1);
}
}

Q4) Write the name of any 3 languages which have pretest logical loop statements. (3)
Q5) Suppose you have a string “unitedkingdom” and a substring “united”. Here “unitedkingdom” is the subject and “united” is the pattern.
Write the snobol code to match/Search the pattern in the Subject. (3)
Q6) Recursion is a powerful tool used in LISP programming language. Write a function in LISP that calculates the power of x to y by using recursion. (5)
Q7) By using inheritance in Java one object acquires the properties of another object. Consider the following java statements using inheritance: (5)

public class Animal{
}

public class Mammal extends Animal{
}
Now based on the above example, In Object Oriented terms which of the following statements are true:

a) Animal is the superclass of Mammal class.
b) Mammal and Reptile are sub classes of Animal class.

Also Identify superclass and subclass here.

Q8) Given the following set of Prolog clauses (5marks)
father(X,Y) :- parent(X,Y), male(X).
parent(sally,bob).
parent(jim,bob).
parent(alice,jane), parent(thomas,jane).
male(bob).
male(jim).
male(thomas).
female(sally).
female(alice).

Write the output of each query.
?- father(X,jane).
?- parent(jim,alice).
?- female(sally).
?- parent(alice,jane).
?- male(alice).

Q9) var students=["Ali", "Aakash", "Taha", "Faiq"];
Based on the above Javascript array, what will be the output of following JavaScript statements:

1. document.write(students[2]);
2. document.write("My name is " + students[0]);
3. document.write(students[1]+students[3]);
4. students[2]="Furqan";
document.write(students[0]+" "+students[1]+" "+students[2]+" "+students[3]);
(5marks)

Q10) Explain ordinal types (user defined) and point out the issues related with ordinal types. (5)

CS508 Current Papers Final term Spring 2020


CS508 current paper | 13-09-2020

 

Q1) Explain Jagged Arrays in case of C# with example. (3 marks)

Q2) What is meant by compound terms (structures) in PROLOG? Give any example. (3)

Q3) What will be the output of the following C# code?   (3)

using System;

public class HelloWorld

{

    public static void Main()               

    {

            string s1 = "hello";     

            string s2 = s1;

                        s1 = “world”;                  

             Console.WriteLine(s1);

     }

}

 

Q4) Write the name of any 3 languages which have pretest logical loop statements. (3)

Q5) Suppose you have a string “unitedkingdom” and a substring “united”. Here “unitedkingdom” is the subject and “united” is the pattern.

Write the snobol code to match/Search the pattern in the Subject.    (3)

Q6) Recursion is a powerful tool used in LISP programming language. Write a function in LISP that calculates the power of x to y by using recursion. (5)

Q7) By using inheritance in Java one object acquires the properties of another object. Consider the following java statements using inheritance:       (5)

 

public class Animal{

}

 

public class Mammal extends Animal{

}

Now based on the above example, In Object Oriented terms which of the following statements are true:

 

  1. a) Animal is the superclass of Mammal class.
  2. b) Mammal and Reptile are sub classes of Animal class.

 

Also Identify superclass and subclass here.

 

 

 

 

 

Q8) Given the following set of Prolog clauses     (5marks)

            father(X,Y) :- parent(X,Y), male(X).

            parent(sally,bob).

            parent(jim,bob).

            parent(alice,jane), parent(thomas,jane).

            male(bob).

            male(jim).

            male(thomas).

            female(sally).

            female(alice).

 

Write the output of each query.

            ?- father(X,jane).

            ?- parent(jim,alice).

            ?- female(sally).

            ?- parent(alice,jane).

            ?- male(alice).

 

 

Q9) var students=["Ali", "Aakash", "Taha", "Faiq"];

Based on the above Javascript array, what will be the output of following JavaScript statements:
  
   1. document.write(students[2]);
   2. document.write("My name is " + students[0]);

  1. document.write(students[1]+students[3]);
  2. students[2]="Furqan";
    document.write(students[0]+"  "+students[1]+"  "+students[2]+"  "+students[3]);

 (5marks)

 

 

Q10) Explain ordinal types (user defined) and point out the issues related with ordinal types.  (5)

CS508 walo Jin ka paper rehta hai wo
PROLOG
JAVA
C#
PHP
JAVASCRIPT
Yeh 5 topics bas prepare kr len sb paper isi mein sy ata hai

ye topics karne se sai marks a jyn gy??

CS508 Current Papers Final term Spring 2020


10 mcqs past say thy baki handout
Subjective
1.Separate head and tail in prolog
2.Array in java script and write array code
3.Write the code of snowbal
4.write PHP code
Or yad nhi

RSS

Latest Activity

+ ! + Ops updated their profile
2 hours ago
Black Wolf updated their profile
2 hours ago
Muhammad Bilal replied to +M.Tariq Malik's discussion FIN624 GDB No 01 Fall 2020 Solution / Discussion in the group FIN624 Islamic Mode of Financing
2 hours ago
Muhammad Bilal replied to Fragrance of Islam's discussion ENG301 Business Communication GDB No 01 Fall 2020 Solution / Discussion in the group ENG301 Business Communication
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion SOC101 Introduction to Sociology Online Quiz No 01 Fall 2020 Solution / Discussion Last Date: 01-12-2020 in the group SOC101 Introduction to Sociology
2 hours ago
Muhammad Usman liked +M.Tariq Malik's group EDU430 ICT in Education
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion CS402 Assignment 01 Fall 2020 Solution / Discussion in the group CS402 Theory of Automata
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion GSC201 Teaching of General Science Assignment 01 Fall 2020 Solution / Discussion Due Date: in the group GSC201 Teaching of General Science
2 hours ago
+M.Tariq Malik liked +M.Tariq Malik's discussion GSC201 Teaching of General Science Assignment 01 Fall 2020 Solution / Discussion Due Date:
2 hours ago
+M.Tariq Malik added a discussion to the group GSC201 Teaching of General Science
2 hours ago
Saqib replied to +M.Tariq Malik's discussion MTH501 Linear Algebra Assignment 01 Fall 2020 Solution / Discussion Due Date: 03-12-2020 in the group MTH501 Linear Algebra
2 hours ago
+M.Tariq Malik replied to +M.Tariq Malik's discussion MTH641 Functional Analysis Online Quiz No 01 Fall 2020 Solution / Discussion in the group MTH641 Functional Analysis
2 hours ago

© 2020   Created by +M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.