KURUKSHETRA

Quiz
•
Computers
•
1st Grade
•
Hard
bitsbuster bitsbuster
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
27 questions
FirstQuiziz

Quiz
•
1st - 5th Grade
34 questions
Tecnologías de la Información II

Quiz
•
1st - 12th Grade
30 questions
quiz pyhton dasar

Quiz
•
1st Grade
32 questions
Câu Hỏi Trắc Nghiệm về Biến và Kiểu Dữ Liệu

Quiz
•
1st Grade
29 questions
Java_A

Quiz
•
1st Grade
34 questions
C Programming Language Quiz

Quiz
•
1st Grade
30 questions
.NET with NextJS

Quiz
•
1st - 10th Grade
28 questions
Էլեկտրոնային աղյուսակ: 9

Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
Exploring Properties of Matter

Interactive video
•
1st - 5th Grade
10 questions
Odd and even numbers

Quiz
•
1st - 2nd Grade
10 questions
Exploring the 5 Regions of the United States

Interactive video
•
1st - 5th Grade
7 questions
Parts of Speech

Lesson
•
1st - 12th Grade