GNIDOC ROUND 1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
MEGHA HARTHANA S
Used 7+ times
FREE Resource
Enhance your content in a minute
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
CSS Pseudo dan CSS Grid System
Quiz
•
University
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
20 questions
Sketup M1 รวม สาระเพิ่ม
Quiz
•
University
20 questions
8-期中总结
Quiz
•
University
20 questions
basisdata1
Quiz
•
University
20 questions
Web Design and HTML Tables Quiz
Quiz
•
University
21 questions
Html dasar
Quiz
•
University
20 questions
PARC Linux Basic Part 2
Quiz
•
University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
9 questions
Principles of the United States Constitution
Interactive video
•
University
18 questions
Realidades 2 2A reflexivos
Quiz
•
7th Grade - University
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
7 questions
What Is Narrative Writing?
Interactive video
•
4th Grade - University
20 questions
SER vs ESTAR
Quiz
•
7th Grade - University
