
KURUKSHETRA
Authored by bitsbuster bitsbuster
Computers
1st Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Q1)What will be the output of the following code?
#include<stdio.h>
int main()
{
int n=9;
(n==9?printf("Correct\n");:printf("Wrong\n"););
return 0;
}
Correct
Wrong
Blank
Syntax error
2.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What will be the output of the following code snippet?
int x = 10;
if (x > 5) {
if (x < 15)
printf("A");
else if (x > 20)
printf("B");
} else {
printf("C");
}
A
B
A B
No output
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
3) Which of the following is an exit controlled loop?
For loop
Do while loop
Do loop
While loop
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Which of the following are header files is used to determine the type contained in wide character data in C?
stdio.h
wctype.h
time.h
ctype.h
none of the above
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What will be the output of the following code snippet?
int i, j;
for (i = 1; i <= 3; i++) {
for (j = 3; j >= i; j--) {
printf("%d ", i + j);
}
printf("\n");
}
4 5 6
3 4
2
4 3 2
5 4
6
4 3 2
4 5
6
4 3 2
5 6
7
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Q1)What will be the output of the following code snippet?
int i, j;
for (i = 0, j = 10; i < j; i++, j--) {
printf("%d %d ", i, j);
}
0 10 1 9 2 8 3 7 6
0 10 1 9 2 8 3 7 4
0 10 1 9 2 8 3 7 4 6
0 10 1 9 2 3 4
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
Which of the following are correct file opening modes in C?
rl
wr
rc
rb
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
30 questions
PERAKITAN KOMPUTER
Quiz
•
1st - 8th Grade
25 questions
AIJ Firewall
Quiz
•
1st Grade
25 questions
HTML5 y CSS3
Quiz
•
1st Grade
25 questions
Mikrotik Test
Quiz
•
1st Grade
25 questions
Sec 1 CPA - CPF1 Computer Systems
Quiz
•
1st Grade
25 questions
Maa Kankali Computer Deori
Quiz
•
1st Grade
26 questions
IC3 - Spark - CF - GMetrix - 2
Quiz
•
1st Grade
25 questions
ANBK LITERASI
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
Presidents' Day
Quiz
•
KG - 5th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
6 questions
President's Day
Lesson
•
1st Grade
10 questions
Identifying Physical and Chemical Changes
Interactive video
•
1st - 5th Grade
7 questions
Lunar and Chinese New Year for Kids | Bedtime History
Interactive video
•
1st - 12th Grade
10 questions
Presidents Day
Interactive video
•
1st - 5th Grade
15 questions
Making Inferences
Quiz
•
1st - 3rd Grade