Time Left - 15:00 mins
NIELIT STQC 2021 Quiz-74
Attempt now to get your rank among 115 students!
Question 1
Matrix multiplication is a/an _________ property.
Question 2
What is the Cartesian product of A = {1,2} and B = {a, b}?
Question 3
Consider the following statements:
(i). Any Dynamic Programming algorithm with n subproblems will run in O(1) time.
(ii). Dynamic programming solves a problem faster then greedy method.
(iii). Unlike greedy algorithms, dynamic programming methods always provide correct/optimal solution.
Which of the above statement/s is/are correct?
Question 4
Which of the following standard algorithms is not Dynamic Programming based?
Question 5
Consider the following statements:
S1 : A lexeme is a sequence of characters in the source program that is matched by pattern for a token.
S2 : The set of string described by a rule is called pattern associated with a token.
Which of the following is true?
S1 : A lexeme is a sequence of characters in the source program that is matched by pattern for a token.
S2 : The set of string described by a rule is called pattern associated with a token.
Which of the following is true?
Question 6
Which of the following would not be specified in a communication protocol ?
Question 7
Comparing the time T1 taken for a single instruction on a pipelined CPU, with time T2 taken on a non-pipelined but identical CPU, we can say that __________?
Question 8
What will be the output of the following C code?
#include <stdio.h>
void main()
{
char *p = calloc(100, 1);
p = "Gradeup";
printf("%s\n", p);
}
Question 9
Which command is used to insert data into the row of a table:
Question 10
Consider the circuit shown below:
The function can be represented as?
- 115 attempts
- 0 upvotes
- 0 comments
Tags :
GATE & PSU CSGeneralJun 22GATE & PSU CS