Programming and Data Structures (GATE Computer Science): Questions 96 - 101 of 151

Get 1 year subscription: Access detailed explanations (illustrated with images and videos) to 913 questions. Access all new questions we will add tracking exam-pattern and syllabus changes. View Sample Explanation or View Features.

Rs. 450.00 or

Question number: 96

» Programming and Data Structures » Programming in C

MCQ▾

Question

What will be output if you will compile and execute the following c code?

  1. #define message "union is power of cvoid main(){
  2.     clrscr();
  3.     printf("%s",message);
  4.     getch();
  5. }

Choices

Choice (4) Response

a.

compiler error

b.

power is of c

c.

union is power of c

d.

All of the above

Question number: 97

» Programming and Data Structures » Programming in C

MCQ▾

Question

A regular grammar is a…. . ?

Choices

Choice (4) Response

a.

Context free grammar

b.

English grammar

c.

Non context free grammar

d.

Question does not provide sufficient data or is vague

Question number: 98

» Programming and Data Structures » Programming in C

MCQ▾

Question

Critical Section used are

Choices

Choice (4) Response

a.

avoid race condition

b.

mutual exclusion

c.

phase locking

d.

None of the above

Question number: 99

» Programming and Data Structures » Programming in C

MCQ▾

Question

Computer use thousands of flip flops. To coordinate the overall action, a common signal called the …. . is sent to each flip - flop. ?

Choices

Choice (4) Response

a.

slave

b.

latch

c.

master

d.

clock

Question number: 100

» Programming and Data Structures » Programming in C

MCQ▾

Question

The Storage-to-Storage instructions

Choices

Choice (4) Response

a.

which perform an operation on a register operand and an operant

b.

which perform indicated operations on two fast registers of the machine and have the result in one of the registers

c.

have both their operands in the main store.

d.

None of the above

Question number: 101

» Programming and Data Structures » Programming in C

MCQ▾

Question

The part of machine level instruction, which tells the central processor what has to be done, is

Choices

Choice (4) Response

a.

Operation code

b.

Locator

c.

Address

d.

Flip- Flop

Sign In