
C-Introduction

Quiz
•
English
•
1st Grade
•
Medium
Avani Khokhariya
Used 3+ times
FREE Resource
23 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h>
int main() {
int i = 17;
char c = 'c'; /* ascii value is 99 */
int sum; sum = i + c;
printf("Value of sum : %d\n", sum); }
116
96
98
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() {
int sum = 17, count = 5;
double mean;
mean = sum / count;
printf("Value of mean: %f\n", mean); }
3.0000
3.4000
3
3.500
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
#include <stdio.h> int main() {
int sum = 17, count = 5;
double mean;
mean = (double) sum / count;
printf("Value of mean: %f\n", mean); }
3.4000
3.000
3
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int main() {
int x = 1;
x = x++ + x++ + ++x;
printf("%d", x);
return 0;
}
7
8
6
5
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int main() {
int x = 1,y;
y = x++ + x++ + ++x;
printf("%d %d",y, x);
return 0;
}
6 , 6
6, 4
4,6
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int main() {
int i;
for(i = 0; i < 5; i++) {
if(i % 2 == 0)
continue;
printf("%d", i);
}
return 0;
}
1 2 3
1 2
1 3
1
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int main() {
int x = 3, y = 4;
int z = (x > y) ? x++ : y++;
printf("%d %d %d", x, y, z);
return 0;
}
3 5 4
4 5 4
4 4 3
3 4 3
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
The Fault in our Stars - part 7

Quiz
•
11th Grade
20 questions
Serial Podcast Episodes 8-10

Quiz
•
10th - 12th Grade
20 questions
Prefixes Dis and Un

Quiz
•
2nd Grade
25 questions
Xâu 4

Quiz
•
5th Grade - University
22 questions
My Life with Chimpanzees

Quiz
•
6th Grade
20 questions
Coding Basics

Quiz
•
12th Grade - University
20 questions
Finance Vocabulary

Quiz
•
10th - 12th Grade
20 questions
ELDA Support Final review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for English
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
14 questions
Plural Nouns Adding s and es

Quiz
•
1st - 2nd Grade
8 questions
1.2.5 Word Study

Lesson
•
1st Grade
7 questions
Parts of Speech

Lesson
•
1st - 12th Grade
20 questions
Short Vowels

Quiz
•
1st Grade
10 questions
HFW Recognize 1.2a

Quiz
•
1st Grade
20 questions
Long and Short Vowels

Quiz
•
1st - 2nd Grade
16 questions
Text and graphic features in informational text

Quiz
•
1st - 5th Grade