CS508 updated Midterm Solved MCQ’s 2020

CS508 Midterm Solved MCQ’S 2020 (Updated)

CS508 Midterm solved mcqs updated 2020

CS508 Midterm Solved Mcqs By Abu Sufyan


1.
The first Compiler was implemented on the ——–   computer in 1953.

1.    
MIT
whirlwind

2.     IBM

3.     Bell

4.     INRIA

2.
“Conditional Control transfer” gave rise the idea of ——- which are blocks of
code that can be reused over and over

1.     Namespaces

2.     Header
Files

3.     Objects

4.    
Libraries

3.
Following are some of the reasons for studying concepts related to different
programming languages EXCEPT?

1.     Increased
ability to learn New Languages

2.    
Increased
capability to design communication links

3.     Increased
ability to design new languages

4.     Increased
capacity to express programming Concepts

5.
In Write ability context, the degree of abstraction is directly related to
the———–.

1.    
Expressiveness

2.     Orthogonally

3.     Reliability

4.     Generality

6. SNOBOL was designed for ——- purpose.

1.    
String
manipulation

2.     AI

3.     Business

4.     Scientific

 

7.
How to end while loop in ada?

1.     Exit

2.    
End
loop

3.     Exit
loop

4.     End

8.
——— is the Non Equality Oprator in ADA.

1.     !”

2.     !’’

3.    

4.    
|”

9.
Which statement is correct about the Table in SNOBOL?

 

1.    
Table
is indexed by number

2.     Table
indexed by the key

3.     Table
can be indexed by both keys and Numbers

4.     Table
can be indexed by both keys and numbers

 

10.
Which statement is correct about SNOBOL?

 

1.     Value is assigned to variable first

2.     Variables
are not declared before use

3.     Variable
must be declared before use

4.     Variable
is declared first

11.
——— was the first machine-independent language.

1.     LISP

2.    
ALGOL

3.     FORTRAN

4.     SNOBOL

12.
——— is a language for symbolic compilation and its syntax is based on
lambda calculus.

 

1.     ALGOL

2.     MATLAB

3.     C

4.    
LISP

13.
Which of the following is not a symbol in Lisp.

 

1.     Testsymbol

2.    
Test
symbol

3.     Test-symbol

4.     Test_symbol

 

Important!  In Lisp a symbol is written without space.

 

14.
In Lisp there is no concept of ——-.

1.     Functions

2.    
Sequential
statements

3.     Strings

4.     symbols

15.
Provides support of data in Ada.

1.     If-else
structure

2.     Procedure

3.    
Packages

4.     Templates

16.
“Everything for everybody” was the motive of this language.

1.     COBOL

2.     LISP

3.    
PL/1

4.     JAVA

17.
To compare the productivity of different languages which criteria is used?

1.     We
should write a Hello World Program in each language.

2.     We should write some complex program in
each language.
(Not 100% write)

3.     We
need to see which language is object oriented and which is not.

4.     We
mention its readability.

18.
Which of the following is membership operator in ada.

1.    
In

2.     Mem

3.     ^^

4.     ^

19.
In LISP——–fuction is same as ——– function.

1.    
Cdr
, cons

2.     Car
, first
(Correction From Fatima)

3.     Car
, rest

4.     Car
, second

20.
in ENIAC physical motion was eventualy replaced by ———- Signals.

1.     Analog

2.    
Electrical

3.     Digital

4.     Logical

21.
$ operator in SNOBOL is used as both a/an—— and———operator.

1.     External
, internal

2.    
Unary
, external

3.     Unary
, binary

4.     Internal
, binary

22.
Ada is a ————— language.

1.     Typed

2.    
Strongly
typed

3.     Weakly
typed

4.     Non
typed

23.
——— first object oriented language.

1.     COBOL

2.     LISP

3.     JAVA

4.    
SIMULA

 

24.
——- represents the class of the languages from functional paradigm.

1.    
LISP

2.    
PROLOG

3.    
Ada

4.    
C++

25.
You can return structure but not ——-from a function in c programming
language.

1.    
Arrays

2.     Number

3.     Pointers

4.     References

26.
Which of the following operator is used for concatenation of statement which is
speared over more than one line in SNOBOL?

1.     +

2.    
+=

3.    
:=

4.    
->

27.
 The substitute of C/C++ pointer type in
Ada is ————

1.     Discriminate
type

2.     Ada
Record

3.    
Access
type

4.     Both
Discriminate type and Ada Record

28.
In earlier versions of FORTRAN, parameters were;

1.     Pass
by value

2.    
Pass
by Reference

3.     Pass
by type

4.     Only
1 byte could pass

 

29.
The list of parameters in Ada subprograms is separated by————–

 

1.     Dot

2.    
Semicolon

3.     Comma

4.     Colon

30.
We can use a variables in visual basic without declaring it, This thing
decreases reliability on one side and enhance ————-

 

1.     Readability

2.     Write
ability

3.     Training
cost

4.     Execution
speed

 

 

 

 

 

 

 

Related Posts

CS604 grand quiz (mcqs) Solution 2021

CS 604 QUIZ Solution 2020/2021  Question # 1 When processes are generated using fork () system call and then after that they are coordinated with each other…

CS603 grand quiz solution fall 2020-2021

CS603 grand quiz Mcqs solved 2020 In This Post, I’ve CS603 grand quiz MCQs solved 2020. You’ll Download the CS603 grand quiz MCQs solved 2020  File From Here….

MTH202 grand quiz Mcqs solved for Midterm 2020

MTH202 grand quiz Mcqs solved 2020 In This Post, I’ve MTH202 grand quiz mcqs solved 2020. You’ll Download MTH202 grand quiz mcqs solved 2020  File From Here. If…

MTH631 grand quiz Mcqs solved 2020

MTH631 grand quiz Mcqs solved 2020 In This Post, I’ve MTH631 grand quiz mcqs solved 2020. You’ll Download MTH631 grand quiz mcqs solved 2020  File From Here. If…

CS202 Grand Quiz Solution Fall 2020

CS202 Grand Quiz Solution Fall 2020 In This Post, I’ve Cs202 Grand Quiz Solution Fall 2020. You’ll Download CS202 Grand Quiz Solution File From Here. If You Prefer…

BIF401 grand quiz Mcqs solved 2020

BIF401 grand quiz Mcqs solved 2020 In This Post, I’ve BIF401 grand quiz mcqs solved 2020. You’ll Download BIF401 grand quiz mcqs solved 2020  File From Here. If…

This Post Has 2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *