Programming and Data Structures-Programming in C (GATE Computer Science): Questions 21 - 28 of 134

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: 21

» Programming and Data Structures » Programming in C

MCQ▾

Question

A simple, easy-to-learn scripting language designed for writing scripts on Web pages is called:

Choices

Choice (4) Response
a.

Javascript

b.

VB script

c.

Visual basic. net

d. All of the above

Question number: 22

» Programming and Data Structures » Programming in C

MCQ▾

Question

What is the value fifteen in Base 10 equal to in Base 16?

Choices

Choice (4) Response
a.

F

b.

A

c.

E

d. None of the above

Question number: 23

» Programming and Data Structures » Programming in C

MCQ▾

Question

Decimal value of binary number (11100) 2

Choices

Choice (4) Response
a.

28

b.

29

c.

20

d. All of the above

Question number: 24

» Programming and Data Structures » Programming in C

MCQ▾

Question

a multiplexer is a also known as

Choices

Choice (4) Response
a.

decoder

b.

coder

c.

data selector

d. All of the above

Question number: 25

» Programming and Data Structures » Programming in C

MCQ▾

Question

What will be the output of following program?

  1. #include<stdio.h> 
  2. int main( ) { 
  3.   int a=500,x,y
  4.   if(a>=600b=300c=400
  5.   printf(“%d,%dn”,x,y); 
  6.   return 0
  7. }

Choices

Choice (4) Response
a.

500, 200

b.

Garbage value

c.

Garbage value, 400

d.

200, 300

Question number: 26

» Programming and Data Structures » Programming in C

MCQ▾

Question

The operators + and = belong to

Choices

Choice (4) Response
a.

Logical operator

b.

Arithmetic operator

c.

Assignment operator

d. None of the above

Question number: 27

» Programming and Data Structures » Programming in C

MCQ▾

Question

Quick sort algorithm requires a maximum of ________ stack space in the worst case.

Choices

Choice (4) Response
a.

O (logn)

b.

O (n)

c.

O (m)

d. Question does not provide sufficient data or is vague

Question number: 28

» Programming and Data Structures » Programming in C

MCQ▾

Question

A loader is -

Choices

Choice (4) Response
a.

A program that automate the translation of assembly language into machine language

b.

A program that places programs into memory and prepares them for execution

c.

A program that accepts a program written in high level language and produces an object program.

d. All of the above

Sign In