Programming and Data Structures (GATE Computer Science): Questions 47 - 51 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: 47

» Programming and Data Structures » Programming in C

MCQ▾

Question

Which of the following file name extension suggests that the file is Backup copy of another file?

Choices

Choice (4) Response

a.

COM

b.

BAK

c.

BAS

d.

TXT

Question number: 48

» Programming and Data Structures » Programming in C

MCQ▾

Question

The memory allocation scheme subject to “external” fragmentation is

Choices

Choice (4) Response

a.

segmentation

b.

multiple contiguous fixed partitions

c.

pure demand paging

d.

swapping

Question number: 49

» Programming and Data Structures » Programming in C

MCQ▾

Question

Addressing structure

Choices

Choice (4) Response

a.

are variations in the use of fundamental addressing structures, or some associated actions which are related to addressing.

b.

performs indicated operations on two fast registers of the machine and leave the result in one of the registers.

c.

defines the fundamental method of determining effective operand addresses

d.

All of the above

Question number: 50

» Programming and Data Structures » Programming in C

MCQ▾

Question

Process is

Choices

Choice (4) Response

a.

a job in secondary memory

b.

contents of main memory

c.

program in High level language kept on disk

d.

a program in execution

Question number: 51

» Programming and Data Structures » Programming in C

MCQ▾

Question

What will be the output of following code?

  1. #include <stdio.h > 
  2. void main() {
  3.     char suite = 3;
  4.     switch (suite) {
  5.         case 1:
  6.             printf(“ALL QUIZ”);
  7.         case 2:
  8.             printf(“All quiz is great”);
  9.         default:
  10.             printf(“All quiz contains MCQs”);
  11.     }
  12.     printf(“Are you like All quiz ? ”);
  13. }

Choices

Choice (4) Response

a.

ALL QUIZ

b.

Quiz is great Are you like Al quiz

c.

Quiz contains MCQs

d.

Quiz is great

Sign In