+ Link For Assignments, GDBs & Online Quizzes Solution |
+ 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 |
Tags:
+ 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)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 |
CS508_Latest_Solved_MCQs_2020
Click on the below link to download the file
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:
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]);
(5marks)
Q10) Explain ordinal types (user defined) and point out the issues related with ordinal types. (5)
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
© 2021 Created by + M.Tariq Malik.
Powered by
Promote Us | Report an Issue | Privacy Policy | Terms of Service
We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.
We are user-generated contents site. All product, videos, pictures & others contents on site don't seem to be beneath our Copyrights & belong to their respected owners & freely available on public domains. We believe in Our Policy & do according to them. If Any content is offensive in your Copyrights then please email at m.tariqmalik@gmail.com Page with copyright detail & We will happy to remove it immediately.
Management: Admins ::: Moderators
Awards Badges List | Moderators Group
All Members | Featured Members | Top Reputation Members | Angels Members | Intellectual Members | Criteria for Selection
Become a Team Member | Safety Guidelines for New | Site FAQ & Rules | Safety Matters | Online Safety | Rules For Blog Post