GNIDOC ROUND 1
Quiz
•
Computers
•
University
•
Hard
MEGHA HARTHANA S
Used 7+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
#include<stdio.h>
int main()
{
int i;
i = (printf("Welcome"), printf(" To Progeni "));
printf("%d", i);
return 0;
}
a) Welcome To Progeni , error
b) compilation error
c) Welcome To Progeni 12
d) Welcome To Progeni 19
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of below program?
int main()
{
if("0")
{
cout<<"EPUDRAA";
}
else
{
cout<<" THE BOYS";
}
return 0;
}
a)EPUDRAA
b) THE BOYS
c) both a) and b)
d) none
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of p in the following C++ code snippet?
#include <iostream>
using namespace std;
int main()
{
int p;
bool a = true;
bool b = false;
int x = 8;
int y = 2;
p = ((x | y) + (a + b));
cout << p;
return 0;
}
10
11
8
12
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
#include <stdio.h>
int main() {
printf("%d %d", (032), (27));
return 0;
}
032 27
32 27
26 27
026 27
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
By assuming size of int = 8 bytes , char = 1 byte for 64-bit compiler, find the output.
#include <iostream>
#include<string.h>
using namespace std;
int main() {
int *pr[10];
const char *ptr="varta maamey durrr";
char p[]="Eppudra";
cout<<sizeof(pr)<<" ";
cout<<sizeof(ptr)<<" ";
cout<<sizeof(p);
}
a) 80 12 7
b) 10 8 7
c) 80 8 8
d) 80 4 8
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
#include <stdio.h>
int main() {
bool ok = false;
printf(ok? "YES" : "NO");
return 0;
}
A)Yes
B)No
C)Compilation Error
D)None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the search complexity in direct addressing?
a) O(n)
b) O(logn)
c) O(nlogn)
d) O(1)
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Common symbols in programming
Quiz
•
10th Grade - University
20 questions
Administrasi Infrastruktur Jaringan - April 2020 (1)
Quiz
•
University
20 questions
Basics of programming - Quiz - 01
Quiz
•
University - Professi...
20 questions
Veritabanı
Quiz
•
University
26 questions
Python программалау тілі бойынша тест тапсырмалары
Quiz
•
University
20 questions
ADMINISTRASI SISTEM JARINGAN
Quiz
•
University
20 questions
PTS HTML Dasar
Quiz
•
11th Grade - University
20 questions
Eplus Exam 2
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
