GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 145 - 149 of 2080

Access detailed explanations (illustrated with images and videos) to 2080 questions. Access all new questions- tracking exam pattern and syllabus. View the complete topic-wise distribution of questions. Unlimited Access, Unlimited Time, on Unlimited Devices!

View Sample Explanation or View Features.

Rs. 550.00 -OR-

How to register? Already Subscribed?

Question 145

Question

MCQ▾

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 access-lists

b.

show ip access-lists

c.

show ip interface Ethernet 0

d.

show interface Ethernet 0

Question 146

Question

MCQ▾

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

  1. voidmain(){
  2.     inta,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.

3

b.

21

c.

27

d.

7

Question 147

Question

MCQ▾

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

Choices

Choice (4)Response

a.

formal parameters

b.

reference parameters

c.

default program

d.

overloaded parameters

Question 148

Question

MCQ▾

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.

8,9, 10

c.

10,9, 8

d.

All of the above

Question 149

Question

MCQ▾

The index register in a digital computer is used for?

Choices

Choice (4)Response

a.

Pointing to the stack address

b.

Keeping track of number of times a loop is executed

c.

Address modification

d.

Indirect addressing

Developed by: