GATE (Graduate Aptitude Test in Engineering) Computer Science: Questions 134 - 138 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 134

Question

MCQ▾

Which of the following algorithm solves the all pair shortest path problem?

Choices

Choice (4)Response

a.

Warshall՚s algorithm

b.

Floyd՚s algorithm

c.

Prim՚s algorithm

d.

Dijkstra՚s algorithm

Question 135

Question

MCQ▾

What is another component involved in the CPU-scheduling function?

Choices

Choice (4)Response

a.

Dispatcher

b.

Displacement

c.

Component

d.

All of the above

Question 136

Question

MCQ▾

Which of the following is a wrong type of insert statement?

Choices

Choice (4)Response

a.

INSERT INTO DEPT (deptno, dept_name, manager_id, loc_name) VALUES (10, Accounting, 10004, Chicago)

b.

INSERT INTO DEPT (deptno, dept_name, manager_id, loc_name) (10, Accounting, 10004, Chicago)

c.

INSERT INTO DEPT (deptno, dept_name, manager_id, loc_name) VALUES (10, ‘Accounting’ , 10004, ‘Chicago’ )

d.

None of the above

Question 137

Question

MCQ▾

Which standard library function will you use to find the last occurance of a character in a string in C?

Choices

Choice (4)Response

a.

strncha

b.

strrchar

c.

strnchar ()

d.

strrchar ()

Question 138

Question

MCQ▾

Does there any function exist to convert the int or float to a string?

Choices

Choice (4)Response

a.

no

b.

either yes or no

c.

yes

d.

None of the above

Developed by: