TECHFEST QUALIFYING ROUND

Quiz
•
Computers
•
University
•
Hard
RAHUL SONAWANE
Used 9+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#include int main(){
int x;
x=10,20,30;
printf("%d",x);
return 0;
}
20
10
30
ERROR
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
#include int main()
{
int a=2,b=7,c=10;
c=a==b;
printf("%d",c);
return 0;
}
-1
0
1
11
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int main() {
int arr[] = {1, 2, 4, 5, 6};
int n = 6;
int sum = n * (n + 1) / 2;
int actual_sum = 0;
for (int i = 0; i < n - 1; i++) {
actual_sum += arr[i];
}
int missing_number = sum - actual_sum;
printf("Missing number is %d\n", missing_number);
return 0;
}
5
4
3
2
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int main() {
int arr[3][3] = {{1, 2, 3},{4, 5, 6},{7, 8, 9}};
int i, j;
for (i = 0; i < 3; i++) {
for (j = 0; j < 3; j++) {
printf("%d ", arr[i][j]);
}
printf("\n");
}
return 0;
7 8 9
4 5 6
1 2 3
3 2 1
6 5 4
9 8 7
1 4 7
2 5 8
3 6 9
1 2 3
4 5 6
7 8 9
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int main() {
int n;
for(n = 7; n!=0; n--)
printf("n = %d", n--);
getchar();
return 0;
}
Error
n = 7
Infinite Loop
n = 6
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int main(){
int i=0;
while ( +(+i--) != 0)
i-=i++;
printf("%d",i);
return 0;
}
0
1
-1
Error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int main(){
if (printf("cIsgood"))
printf("I know c");
else
printf("I know c++");
return 0;
}
cIsgoodIknow c
Error
I know c++
cIsgoodIknowc++
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Operator in C

Quiz
•
University
23 questions
Beginning C Programming

Quiz
•
University
15 questions
CIS1101-programming practice

Quiz
•
University
18 questions
C Language 101

Quiz
•
University
20 questions
C Programming (Unit- 1) Quiz

Quiz
•
University
20 questions
9.4.25 Mentoring quiz

Quiz
•
University
17 questions
Minggu V - PKS 2 - Pemrograman C++

Quiz
•
University
20 questions
Apuntadores en C

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th 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
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University