CS508 QUIZ NO 1 SOLVED SPRING 2019 FILE 3|| 100% VERIFIED|| VURANK

CS508 QUIZ NO 1 SOLVED 100% VERIFIED BY ADMIN (MID TERM SYLLABUS)

Q1: It is always better to find out the mistakes in the code at __________.
A) Compile time (page27) (100% Sure)
B) Run time
C) Both of the above
D) None of these

Q2: In SONOBAL 2 spaces can be used, the purpose of first space is __________ and 2nd space is __________.
A) Pattern matching, Concatenation (page35) (100% Sure)
B) Assignment and Concatenation
C) Pattern matching and Assignment
D) None of the above

Q3: For immediate value assignment __________ sign is used.
A) %
B) $ (page39) (100% Sure)
C) *
D) &

Q4: For conditional assignment __________ operator is used.
A) %
B) . (dot) (page39) (100% Sure)
C) &
D) *

Q5: Following are imperative languages EXCEPT:
A) FORTAN
B) COBOL
C) LIPS (page22) (100% Sure)
D) Pascal

Q6: Indirect referencing in SONOBOL is same as of __________ in C.
A) Pointers (page40) (100% Sure)
B) Arrays
C) Aliasing
D) Stack

Q7: Smalltalk was the first purest __________ language and pioneered graphical user interface.
A) object oriented (page29) (100% Sure)
B) structured
C) procedural
D) functional

Q8: The more is the Simplicity of a language, the more it will always be readable.
A) True (100% Sure)
B) False

Q9: The space operator in SNOBOL has __________ precedence than arithmetic operators.
A) Higher
B) Same
C) Lower (page35) (100% Sure)
D) None of the above

Q10: A space is used as __________ for concatenation.
A) Operator (page35) (100% Sure)
B) Data Type
C) String
D) Variable

No comments:

Post a Comment