Time Left - 10:00 mins
NIELIT-Scientist- 'B' Quiz -7 (Technical)
Attempt now to get your rank among 363 students!
Question 1
The principal of locality of reference justifies the use of
Question 2
Compared to CISC processors, RISC processors contain
Question 3
Find number of micro-operations required to fetch an instruction from memory.
Question 4
Consider the following foo function and identify the return value of foo function.
int foo (unsigned int n)
{
int x = 0;
while (n! = 0)
{
if (n & 01) x ++;
n>>=1;
}
return x;
}
Question 5
What is the output of this program?
#include <iostream>
#include <string>
#include <bitset>
using namespace std;
int main ()
{
string mystring;
bitset<4> mybits;
mybits.set();
mystring = mybits.to_string<char, char_traits<char>,
allocator<char> >();
cout << mystring << endl;
return 0;
}
#include <iostream>
#include <string>
#include <bitset>
using namespace std;
int main ()
{
string mystring;
bitset<4> mybits;
mybits.set();
mystring = mybits.to_string<char, char_traits<char>,
allocator<char> >();
cout << mystring << endl;
return 0;
}
Question 6
Consider the following function declaration
int *f(int *);
Which of the following is correct about the declaration?
Question 7
Which of the following is true about linked list implementation of queue?
Question 8
In which layer of network architecture, the secured socket layer (SSL) is used?
Question 9
Let (x, y, z) be the statement “x + y = z” and let there be two quantifications given as
Where x, y, z are real numbers. Then which one of the following is correct?
Where x, y, z are real numbers. Then which one of the following is correct?
Question 10
How many relations are there on a set with n elements that are symmetric and a set with n elements that are reflexive and symmetric?
- 363 attempts
- 6 upvotes
- 5 comments
Tags :
GATE & PSU CSGeneralSep 23GATE & PSU CS