We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

Share This With Friends......

+ Click Here To Join also Our facebook study Group.

This Content Originally Published by a member of VU Students.

+ Prohibited Content On Site + Report a violation + Report an Issue

..How to Join Subject Study Groups & Get Helping Material?..

Views: 1726

See Your Saved Posts Timeline

Replies to This Discussion

LISP Programming Language 18-21 Handouts 63-76

Quiz No. 02

Dear Student,


Quiz No. 02 of cs508 has been launched.


For any issue feel free to contact at cs508@vu.edu.pk

Instructor CS508

Quiz from past papers;

1. C# and C++ have ________ size.
Ø None of the given (Not confirmed cause this is a stupid question, size who knows)

2. Threads in Java are based upon the concept of


3. Which is not a valid atom in PROLOG?


  • Ø Mary, _c1



4. C# is a __________ typed language.

  • Ø strongly




5. Prolog has only one _____

  • Ø goal




6. Which chaining type is used by Prolog?

  • Ø Backward




7. ________ compile initially to an intermediate. Which can be run by interpretation or just in time compilation or an appropriate virtual machine?

 C++ and C#Ø
Ø C# and Java
 Java and C++Ø
 Ada , C++Ø

8. In______ Boolean expression is convertible into integer type.

  • Ø C#

9. PHP syntax looks like ___________

  • Ø ASP syntax
     C/C++ syntaxØ
     Both of the above optionsØ
     None of the givenØ

10. For narrowing conversion which type conversion is appropriate?
Ø Implicit Conversion
 Explicit ConversionØ
 Both of the above optionsØ
 None of the givenØ

11. In Java we can make pointer of_________.
 Any typeØ
 Reference type onlyØ
 BØoth of the above options(Not sure)
 None of the givenØ

12. The concept of C# jagged array is similar in function to _________
 C++ rectangular ArrayØ
Ø Java Array of Array
 Java pointer ArrayØ
 C# ArrayØ

13. PHP is a __________typed language.
1) Strongly
2) Dynamic
3) Static
4) None of Given

14. _________is more strongly typed language then __________
1) C++, C#
2) C#, C++
3) C++, Java
4) None of the given

15. In C# the value type and reference type variable are interconvert able through ________

1) Tagged type
2) Boxing
3) Interfaces
4) None of the given

16. PHP supported all major Databases including_________.

2) Oracle
3) SQL Server
4) None Of given

17. Object in java script can be accessed through ………

1) Reference pointer method
2) None of the above
3) Capital letter or underscore
4) Variable

18. Indexes of arrays do not start from 0 in _____

v Ada(maybe)

19. Prolog is a _____ .

v declarative

 string manipulativev

 definitive v

20. In __________, Enumeration type can also be used as indexes in arrays.

m C++

21. In SONOBOL the size of the array can be determined at ____.

S run time

 compile timeS

 array implimentationS

22. In _____, Boolean values can convert to integers.



S Java


23. It is always better to find out the mistakes in the code at ________.

S Compile time
 Link timeS
 None of given optionS

24. We can have nested procedures in _________ language.

S Ada

25. Indirect referencing in SONOBOL is same as of _____in C.

S Pointers

26. In ____ model in Javascript, we can address the client web browser. (kuch esa hi tha thik se yad nae) 





27. Elementary types are derived from ____ data types in Ada.


S discrete(I think)



28. _____ language has finally clause.

S Java




My to day Quiz 2


My Today's Quiz (bc090200975)

Quiz Start Time: 11:10 PM
Time Left 90sec(s)
Question # 1 of 10 ( Start time: 11:10:17 PM ) Total Marks: 1
We can have nested procedures in _________ language.
Select correct option:

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 2 of 10 ( Start time: 11:10:43 PM ) Total Marks: 1
SIZE() and REPLACE() in SNOBOL4 are _________ functions
Select correct option:
user defined
both primitive and built-in

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 3 of 10 ( Start time: 11:13:02 PM ) Total Marks: 1
In LISP, following statement returns the difference of the two lists.
Select correct option:
(Difference L1 L2)
(set-difference L1 L2)(ans)
(L1 Difference L2)
(L1 difference L2)

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 4 of 10 ( Start time: 11:13:59 PM ) Total Marks: 1
One of the major design goals of Ada was
Select correct option:
to make it difficult for developers to make mistakes
to help developers to code the software in lesser time
to help develop an IDE for Ada(ans)
to make testers to test Ada application easily

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 5 of 10 ( Start time: 11:14:24 PM ) Total Marks: 1
___________ represents the class of languages from functional paradigm.
Select correct option:

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 6 of 10 ( Start time: 11:15:04 PM ) Total Marks: 1
Ada support all of the given loops except ______
Select correct option:
do-while loop(ans)
while loop
for loop
both do-while and while loop

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 7 of 10 ( Start time: 11:16:00 PM ) Total Marks: 1
Ada is a _____________ language
Select correct option:
Strongly typed(ans)
Weakly typed
Non typed

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 8 of 10 ( Start time: 11:16:14 PM ) Total Marks: 1
Indexes of arrays in Ada DO NOT starts from
Select correct option:
Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 9 of 10 ( Start time: 11:16:59 PM ) Total Marks: 1
A concept similar to Classes in Ada is called _____.
Select correct option:
Abstract Data type

Quiz Start Time: 11:10 PM Time Left 90sec(s)
Question # 10 of 10 ( Start time: 11:17:40 PM ) Total Marks: 1
____ is used to give comments in Ada language.
Select correct option:


Study Corner For DigiSkills Students

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

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