GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 190 - 195 of 2080

Access detailed explanations (illustrated with images and videos) to 2080 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 190

Question

MCQ▾

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

  1. #definemessage "unionispowerofc" voidmain(){
  2.     clrscr();
  3.     printf("%s",message);
  4.     getch();
  5. }

Choices

Choice (4)Response

a.

union is power of c

b.

compiler error

c.

power is of c

d.

All of the above

Question 191

Question

MCQ▾

A regular grammar is a … ?

Choices

Choice (4)Response

a.

Non context free grammar

b.

Context free grammar

c.

English grammar

d.

None of the above

Question 192

Question

MCQ▾

A bidirectional 4-bit shift register is storing the nibble 1101. Its input is HIGH. The nibble 1011 is waiting to be entered on the serial data-input line. After three clock pulses, the shift register is storing ________.

Choices

Choice (4)Response

a.

0111

b.

1100

c.

1101

d.

0001

Question 193

Question

MCQ▾

Critical Section used are

Choices

Choice (4)Response

a.

phase locking

b.

mutual exclusion

c.

avoid race condition

d.

All of the above

Question 194

Question

MCQ▾

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.

master

b.

clock

c.

latch

d.

slave

Question 195

Question

MCQ▾

Which command will configure a switch port to use the IEEE standard method of inserting VLAN membership information into Ethernet frames?

Choices

Choice (4)Response

a.

Switch (config) # switch port trunk encapsulation isl

b.

Switch (config) # switch port trunk encapsulation dot 1q

c.

Switch (config-if) # switch port trunk encapsulation dot 1q

d.

Switch (config) # switch port trunk encapsulation ietf

Developed by: