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

Question

MCQ▾

The post order and in order traversal of a binary tree is given as,

Post order – KGLMHDBECA

In order - KGDLHMBAEC

Find out the preorder traversal.

Choices

Choice (4)Response

a.

ABDGKHCELM

b.

ABDGKHLMCE

c.

ABDHLGKMCE

d.

ABDGKLHMCE

Question 1506

Question

MCQ▾

Which of these are false about AJAX?

Choices

Choice (4)Response

a.

It is a scripting language

b.

It can change the page content dynamically

c.

XML can be used for receiving server data

d.

HTML and CSS can be used in combination

Question 1507

Question

MCQ▾

Let P (a, b) denote .

Then which of these quantifications are true,

Where a and b are real numbers.

Which of the following is true?

Choices

Choice (4)Response

a.

Only (i)

b.

Only (ii)

c.

All of the above

d.

Question does not provide sufficient data or is vague

Question 1508

Question

MCQ▾

How many times will “Africa” get printed in the following C program?

  1. #include<stdio.h>
  2. intmain()
  3. {
  4.     inti=1024;
  5.     for(;i;i≫=1)
  6.     printf("Africa");
  7.     return0;
  8. }

Choices

Choice (4)Response

a.

9

b.

11

c.

Compiler error

d.

10

Question 1509

Question

MCQ▾

Some statements have been made about Contiguous and Noncontiguous Memory Allocation.

  1. Noncontiguous Memory Allocation suffers from internal fragmentation
  2. Contiguous Memory Allocation suffers from translation overheads
  3. The Operating System maintains tables for both
  4. A process executes slower in Noncontiguous Memory Allocation

Which of these statements are false?

Choices

Choice (4)Response

a.

1 and 4

b.

2 and 3

c.

1 and 2

d.

3 and 4

Developed by: