GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 281 - 287 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 281

Question

MCQ▾

The process of writing out computer instruction is known as-

Choices

Choice (4)Response

a.

codeing

b.

Executing

c.

Compiling

d.

Assembling

Question 282

Question

MCQ▾

The Internet Model Consists of ________ Layers.

Choices

Choice (4)Response

a.

5

b.

3

c.

4

d.

7

Question 283

Question

MCQ▾

Which is the type of memory for information that does not change on your computer?

Choices

Choice (4)Response

a.

RAM

b.

EROM

c.

ROM

d.

RW/RAM

Question 284

Question

MCQ▾

Which of the following sorting procedure is the slowest?

Choices

Choice (4)Response

a.

Quick sort

b.

Heap sort

c.

Bubble sort

d.

None of the above

Question 285

Question

MCQ▾

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

  1. voidmain ( )
  2. {
  3. inta, b;
  4.  a =1, 3, 15;
  5.  b =( 2, 4, 6 ) ;
  6.  clrscr ( ) ;
  7.  printf (  "%d " , a +b ) ;
  8.  getch ( ) ;
  9. }

Choices

Choice (4)Response

a.

3

b.

21

c.

7

d.

17

Question 286

Question

MCQ▾

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

  1. voidmain ( )
  2. {
  3. inti;
  4. floata =5.2;
  5. char ⚹ ptr;
  6.  ptr =( char ⚹ ) &a;
  7. for ( i =0; i<=3; i++ ) {
  8.   printf (  "%d " , ⚹ ptr++ ) ;
  9. }
  10. }

Choices

Choice (4)Response

a.

102 102 - 90 64

b.

Garbage

c.

0 0 0 0

d.

102 56 - 80 32

Question 287

Question

MCQ▾

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

  1. voidmain ( )
  2. {
  3. inthuge ⚹ p =( inthuge ⚹ ) 0xC0563331;
  4. inthuge ⚹ q =( inthuge ⚹ ) 0xC2551341;
  5. ⚹ p =200;
  6.  printf (  "%d"  , ⚹ q ) ;
  7. }

Choices

Choice (4)Response

a.

200

b.

0

c.

garbage value

d.

null

Developed by: