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

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

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

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 1780

.

+ 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?)

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



--
Regards!
Instructor CS508

Quiz from past papers;

1. C# and C++ have ________ size.
 SameØ
 DifferentØ
 DistinctØ
Ø 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

 ØMonitor

3. Which is not a valid atom in PROLOG?

 this_is_itØ

  • Ø Mary, _c1

 'happy'Ø

 fØ

4. C# is a __________ typed language.

  • Ø strongly

 safetyØ

 referenceØ

 valueØ

5. Prolog has only one _____

  • Ø goal

 factØ

 ruleØ

 queryØ

6. Which chaining type is used by Prolog?

  • Ø Backward

 forwardØ

 upØ

 horizontalØ

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#
     C++Ø
     JAVAØ
     AdaØ

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 ________

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

16. PHP supported all major Databases including_________.

1) ODBC
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 _____

 Prologv
 C#v
 Javav
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.

 Adam
 Cm
m C++
 LISPm

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.

 C#S

 C++S

S Java

 AdaS

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

 RuntimeS
S Compile time
 Link timeS
 None of given optionS

24. We can have nested procedures in _________ language.

 C++S
S Ada
 CS
 PROLOGS

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

 ArraysS
S Pointers
 AliasingS
 StackS

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

 DOMS

S BOM

 TOMS

 VOMS

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

 primitiveS

S discrete(I think)

 built-inS

 staticS

28. _____ language has finally clause.

S Java

 AdaS

 C/C++S

 LISPS

My to day Quiz 2

Attachments:

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:
C++
Ada(ans)
C
PROLOG

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:
primitive(ans)
built-in
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:
LISP(ans)
PROLOG
Ada
C++

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:
Typed
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:
0(ans)
1
2
3
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:
Packages(ans)
Structures
Controls
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:
/*
*/
//
--(ans)

RSS

Today Top Members 

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

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