CS508 Quiz No. 2 Solution and Discussion

Please read the following instructions carefully!
Quiz will be based upon Multiple Choice Questions (MCQs).

You have to attempt the quiz online. You can start attempting the quiz any time within given date(s) of a particular subject by clicking the link for Quiz in VULMS.

Each question has a fixed time of 90 seconds. So you have to save your answer before 90 seconds. But due to unstable internet speeds, it is recommended that you should save your answer within 60 seconds. While attempting a question, keep an eye on the remaining time.

Attempting quiz is unidirectional. Once you move forward to the next question, you can not go back to the previous one. Therefore before moving to the next question, make sure that you have selected the best option.

DO NOT press Back Button / Backspace Button while attempting a question, otherwise you will lose that question.

DO NOT refresh the page unnecessarily, specially when following messages appear
Question Timeout: Now loading next question…

Javascript MUST be enabled in your browser; otherwise you will not be able to attempt the quiz.

If for any reason, you lose access to internet (like power failure or disconnection of internet), you will be able to attempt the quiz again from the question next to the last shown question. But remember that you have to complete the quiz before expiry of the deadline.

If any student failed to attempt the quiz in given time then no re-take or offline quiz will be held.

Which of the following are the types of constants in Prolog CS508 (Page 80)


Predicates in PROLOG are the declarations of ___________ CS508 (Page 82)


In java, explicit conversion of primitive type is done by _________ CS508 (Page 98)


Which of the following is not primitive type in java? CS508 (Page 91)

The _________ in Java is passed by value but ______ is passed by reference. CS508


A predicate may have ________ or more arguments. CS508 (Page 82)

Which of the following is very effective in solving complex puzzles? CS508

The Java Bytecode is created by the Java compiler and is stored in ____ file CS508
(Page 92)

_______ cannot be converted to other types in Java. CS508

  1. ________ in PROLOG are loosely typed
Log in to reply