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

Kamboh(zaheen o haseen) updated their profile
33 minutes ago
Profile IconGOHAR-MEHMOOD, Tehreem fatima, Iqra and 11 more joined Virtual University of Pakistan
51 minutes ago
Nabila joined +M.Tariq Malik's group
1 hour ago
Mifa Fadel liked +M.Tariq Malik's group SOC101 Introduction to Sociology
1 hour ago
ᴍᴜʙᴀꜱʜɪʀ ♥ updated their profile
1 hour ago
+++!!zυηι кнαη(αм ¢у¢σ) updated their profile
3 hours ago
Mifa Fadel liked +M.Tariq Malik's discussion SOC101 Introduction to Sociology Assignment 01 Fall 2020 Solution / Discussion
7 hours ago
shifa arshad added a discussion to the group CS605 Software Engineering-II
10 hours ago
shifa arshad joined +M.Tariq Malik's group
10 hours ago
Profile Iconиαвєєℓ αнмє∂ and Ali Fahad joined +M.Tariq Malik's group
11 hours ago
shifa arshad replied to +M.Tariq Malik's discussion MGT502 Organizational Behavior GDB No 01 Fall 2020 Solution / Discussion in the group MGT502 Organizational Behavior
12 hours ago
shifa arshad joined +M.Tariq Malik's group
12 hours ago
+ !! SARAH replied to Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
13 hours ago
+ ᴄᴏғғᴇᴇ updated their profile
13 hours ago
Rizwan Mushtaq joined +M.Tariq Malik's group
13 hours ago
Arooj Shahid liked 乇メ-丂イひり3刀イ.'s discussion *** My Drawing ***
14 hours ago
Arooj Shahid liked 乇メ-丂イひり3刀イ.'s discussion *** الوداع اردو ***
14 hours ago
Arooj Shahid liked Miss. Churhail's discussion LOVE YOUR LIFE!!!!!
14 hours ago
Arooj Shahid liked Hafiza Tehreem Fatima's discussion BIRTHDAY CELEBRATION OUR BELOVED <MEMBER SARAH ABDUL
14 hours ago
Arooj Shahid liked Omar's discussion Dua
14 hours ago

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

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

.