Time Left - 10:00 mins
HAL CS 2022 Quiz 1
Attempt now to get your rank among 115 students!
Question 1
How many tokens are generated by the lexical analyzer, if the following program has no lexical error?
main()
{
int x,y;
fl/* gate oat z; */
/*x=exam*/10;
y=20;
}
main()
{
int x,y;
fl/* gate oat z; */
/*x=exam*/10;
y=20;
}
Question 2
Consider the two algorithm regarding routing protocol:
1) Split-Horizon Algorithm
2) Link State routing
Which of the following is true regarding mentioned algorithm?
1) Split-Horizon Algorithm
2) Link State routing
Which of the following is true regarding mentioned algorithm?
Question 3
What is the minimum runtime to reverse a doubly linked list?
Question 4
Which of the following operator have lowest precedence than the given operators according to C programming language?
Question 5
A key that is chosen by the database designer as the principal means of identifying entities within an entity set is called a
Question 6
The output of a logic gate is ‘1’ when all its inputs are at logic ‘0’. The gate is either
Question 7
If n processors are present in the system, how many ways are possible to schedule them?
Question 8
How many data structures are used in the Banker’s algorithm?
Question 9
Context free languages are closed under_______?
Question 10
Which processor has the necessity of manual optimization for the generation of assembly language code especially for the embedded systems?
- 115 attempts
- 1 upvote
- 0 comments
Tags :
GATE & PSU CSGeneralMar 2GATE & PSU CS