GATE (Graduate Aptitude Test in Engineering) Computer Science & IT (CS): Questions 190 - 195 of 3196

Choose Programs:

🎓 Study Material (1190 Notes): 2024-2025 Syllabus

Rs. 1000.00 -OR-

3 Year Validity (Multiple Devices)

Topic-wise Notes & SampleDetails

🎯 302 Numeric, 2894 MCQs (& PYQs) with Full Explanations (2024-2025 Exam)

Rs. 650.00 -OR-

3 Year Validity (Multiple Devices)

CoverageDetailsSample Explanation

Help me Choose & Register (Watch Video) Already Subscribed?

Question 190

Question MCQ▾

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

  1. #define message "union is power of c" void main(){
  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

Edit

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

Edit

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

Edit

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

Edit

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

Edit

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

Edit