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


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: 575

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

Imtiaz Waqar added a discussion to the group STA630 Research Methods
10 minutes ago
Imtiaz Waqar joined +M.Tariq Malik's group
11 minutes ago
Muhammad Fawad Hassan joined +M.Tariq Malik's group
26 minutes ago
Maria commented on +M.Tariq Malik's group EDU101 Foundations of Education
33 minutes ago
+ Faisal + replied to shifa arshad's discussion CS605 Assignment No 02 Fall 2020 Solution / Discussion Due Date: 10-dec-2020 in the group CS605 Software Engineering-II
34 minutes ago
Maria joined +M.Tariq Malik's group
36 minutes ago
Maria and SafeerZaidi are now friends
1 hour ago
SafeerZaidi liked Maria's profile
1 hour ago
Tasha Malik posted a status
"Bio 201 Assignment # 2 Solution https://youtu.be/Gowjc67WZ4c"
2 hours ago
Maria liked +M.Tariq Malik's profile
2 hours ago
Maria left a comment for +M.Tariq Malik
2 hours ago
Blessings posted a status
"Kya khbr k ab wo khan rehta hai...........................Khush rhe yar jhan rehta hai"
3 hours ago
SafeerZaidi liked +M.Tariq Malik's group PAK301 Pakistan Studies
3 hours ago
Virtual Educators Academy posted a discussion
3 hours ago
Virtual Educators Academy updated their profile
3 hours ago
Profile IconVirtual Educators Academy, Momna Khalid, Maria and 13 more joined Virtual University of Pakistan
3 hours ago
☆ Tina Solangi ☆ updated their profile
4 hours ago
Humaira Khadim replied to +M.Tariq Malik's discussion PSY404 Abnormal Psychology Assignment 01 Fall 2020 Solution / Discussion in the group PSY404 Abnormal Psychology
4 hours ago
Humaira Khadim replied to +M.Tariq Malik's discussion PSY402 Experimental Psychology Assignment 01 Fall 2020 Solution / Discussion Due Date: 07-12-2020 in the group PSY402 Experimental Psychology
4 hours ago
Ali Fahad posted a discussion
5 hours ago

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

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

.