
C-Introduction

Quiz
•
English
•
1st Grade
•
Hard
Avani Khokhariya
Used 1+ 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
25 questions
Python Programming

Quiz
•
University
18 questions
Anh van 1 revision 2

Quiz
•
University
20 questions
Past Simple vs Present Perfect

Quiz
•
8th Grade
20 questions
Temporals & Conditional 1

Quiz
•
9th Grade
18 questions
FOR and WHILE loop in Python

Quiz
•
9th - 12th Grade
20 questions
DataStorm Quiz

Quiz
•
University
20 questions
Word Analysis Task Cards

Quiz
•
3rd Grade
20 questions
tenses

Quiz
•
7th - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade