Programming and Data Structures (GATE Computer Science): Questions 71 - 76 of 151

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

» Programming and Data Structures » Programming in C

MCQ▾

Question

The Memory Buffer Register (MBR)

Choices

Choice (4) Response

a.

is a hardware memory device which denotes the location of the current instruction being executed.

b.

contains the address of the memory location that is to be read from or stored into.

c.

contains a copy of the designated memory location specified by the MAR after a “read” or the new contents of the memory prior to a “write”.

d.

Question does not provide sufficient data or is vague

Question number: 72

» Programming and Data Structures » Programming in C

MCQ▾

Question

What is the purpose of fflush () function.

Choices

Choice (4) Response

a.

flushes input/output buffer.

b.

flushes only specified stream.

c.

flushes file buffer.

d.

flushes all streams and specified streams.

Question number: 73

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which type of statement does not occur in computer programs?

Choices

Choice (4) Response

a.

sequence

b.

selection

c.

denial

d.

loop

Question number: 74

» Programming and Data Structures » Programming in C

MCQ▾

Question

Von Neumann architecture is?

Choices

Choice (4) Response

a.

SISD

b.

MISD

c.

MIMD

d.

SIMD

Question number: 75

» Programming and Data Structures » Programming in C

MCQ▾

Question

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

  1. void main() {
  2.     if(printf("cquestionbank")) printf("I know c");
  3.     else printf("I know c++");
  4. }

Choices

Choice (4) Response

a.

I know c++

b.

I know c

c.

c questionbank

d.

Question does not provide sufficient data or is vague

Question number: 76

» Programming and Data Structures » Programming in C

MCQ▾

Question

What will the function randomize () do in Turbo C under DOS?

Choices

Choice (4) Response

a.

returns a random number generator in the specified range.

b.

return a random number with a given seed value.

c.

returns a random number.

d.

returns a random number generator with a random value based on time.

Sign In