GATE Computer Science: Questions 168 - 172 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: 168

» Computer Networks » ISO-OSI Stack

MCQ▾

Question

we are working on a router that has established privilege levels that restrict access to certain functions. You discover that you are not able to execute the command show running-configuration. How can you view and confirm the access lists that have been applied to the Ethernet 0 interface on your router?

Choices

Choice (4) Response
a.

show ip interface Ethernet 0

b.

show interface Ethernet 0

c.

show access-lists

d.

show ip access-lists

Question number: 169

» 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.     int a,b;
  3.     a=1,3,15;
  4.     b=(2,4,6);
  5.     clrscr();
  6.     printf("%d ",a+b);
  7.     getch();
  8. }

Choices

Choice (4) Response
a.

21

b.

7

c.

3

d.

27

Question number: 170

» Programming and Data Structures » Programming in C

MCQ▾

Question

When you omit parameters from a function call, values can be provided by

Choices

Choice (4) Response
a.

reference parameters

b.

overloaded parameters

c.

default parameters

d.

formal parameters

Question number: 171

» Databases » Database Design

MCQ▾

Question

The output of this SQL Statement is

SELECT LENGTH (‘Knowledge’) – 1, LENGTH (‘Knowledge’), LENGTH (‘Knowledge’) + 1 FROM DUAL

Choices

Choice (4) Response
a.

9, 9, 9

b.

10, 9, 8

c.

8, 9, 10

d. Question does not provide sufficient data or is vague

Question number: 172

» Programming and Data Structures » Programming in C

MCQ▾

Question

The index register in a digital computer is used for?

Choices

Choice (4) Response
a.

Keeping track of number of times a loop is executed

b.

Address modification

c.

Pointing to the stack address

d.

Indirect addressing

Sign In