GATE Computer Science: Questions 144 - 148 of 913

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

» 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: 145

» 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

Question number: 146

» Databases » Database Design

MCQ▾

Question

The output of the following queries are

SELECT e. empno, e. ename, d. dept_name FROM emp e, dept d USING (dept_id);

SELECT e. empno, e. ename, d. dept_name FROM emp e JOIN dept d ON (e. dept_id = d. dept_id)

Choices

Choice (4) Response

a.

similar

b.

USING and ON cannot be used in SQL queries

c.

dissimilar

d.

Question does not provide sufficient data or is vague

Question number: 147

» Databases » Database Design

MCQ▾

Question

The following command is issued to make permanent the changes that have been done to the database using DML commands.

Choices

Choice (4) Response

a.

ROLLBACK

b.

GRANT

c.

COMMIT

d.

All of the above

Question number: 148

» Computer Networks » ISO-OSI Stack

MCQ▾

Question

Which of the following access lists will allow only HTTP traffic into network 196.15. 7.0?

Choices

Choice (4) Response

a.

access-list 100 permit tcp any 196.15. 7.0 0.0. 0.255 eq www

b.

access-list 10 deny tcp any 196.15. 7.0 eq www

c.

access-list 100 permit 196.15. 7.0 0.0. 0.255 eq www

d.

access-list 110 permit ip any 196.15. 7.0 0.0. 0.255

Sign In