General

Question 1

Which one of the following statements is true?

A
Macro definitions cannot appear within other macro definitions in assembly language programs
B
Overlaying is used to run a program which is longer than the address space of computer
C
Virtual memory can be used to accommodate a program which is longer than the address space of a computer
D
It is not possible to write interrupt service routines in a high level language
Question 1 Explanation: 
A macro body can also have further macro definitions. However, these nested macro definitions aren't valid until the enclosing macro has been expanded. That means enclosing macro must have been called before the macros can be called.
Question 2

Match the following items

A
(i) - (b), (ii) - (c), (iii) - (d), (iv) - (a)
Question 2 Explanation: 
Note: Out of syllabus.
Question 3

Match the following items

A
(i) - (d), (ii) - (a), (iii) - (b), (iv) - (c)
Question 3 Explanation: 
Backus Normal Form (BNF) is a notation technique for context free grammars, often used to describe the syntax of languages used in computing.
Yacc (Yet Another Compiler- Compiler) is a computer program for the UNIX operating system. It is a LALR parser generator, generating a parser, the part of a compiler that tries to make syntactic sense of the source code, specially a LALR parser, based on an analytic grammar. Yacc is written in portable C.
Question 4

Match the following items

 
A
(i) - (a), (ii) - (b), (iii) - (d), (iv) - (c)
Question 4 Explanation: 
Note: Out of syllabus.
Question 5

State True or False with reason
Logical data independence is easier to achieve than physical data independence

A
True
B
False
Question 5 Explanation: 
Logical data independence is more difficult to achieve than physical data independence, since application programs are heavily dependent on the logical structure of the data that they access.
Question 6

Which of the following statements is true?

A
ROM is a Read/Write memory
B
PC points to the last instruction that was executed
C
Stack works on the principle of LIFO
D
All instructions affect the flags
Question 6 Explanation: 
We know that stack works on the principle of LIFO.
Question 7

The principle of locality justifies the use of

A
interrupts
B
DMA
C
Polling
D
Cache Memory
Question 7 Explanation: 
The locality of reference is also known as principle of locality.
→ The things which are used more frequently those are stored in locality of reference.
→ For this purpose we use the cache memory.
There are 7 questions to complete.

Access quiz wise question and answers by becoming as a solutions adda PRO SUBSCRIBER with Ad-Free content

Register Now

If you have registered and made your payment please contact solutionsadda.in@gmail.com to get access