int main()
{
int a = 10, b = 25;
a = b++ + a++;
b = ++b + ++a;
printf("%d %d n", a, b);
}
C Programming Midterm Review
Quiz
•
Computers
•
11th - 12th Grade
•
Medium
Robert Madera
Used 85+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main()
{
int a = 10, b = 25;
a = b++ + a++;
b = ++b + ++a;
printf("%d %d n", a, b);
}
36 64
35 62
36 63
30 28
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main ()
{
int x = 24, y = 39, z = 45;
z = x + y;
y = z - y;
x = z - y;
printf ("n%d %d %d", x, y, z);
}
24 39 63
39 24 63
24 39 45
39 24 45
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who is Father of C Language
Bjarne Stroustrup
James A. Gosling
Dennis Ritchie
Dr. E.F. Codd
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C Language is developed at ___________?
AT & T's Bell Laboratories of USA in 1972
AT & T's Bell Laboratories of USA in 1970
Sun Microsystems in 1973
Cambridge University in 1972
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
C programs are converted into machine language with the help of
An Editor
A compiler
An operating system
None of these.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the only function all C programs must contain?
start()
system()
printf()
main()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a correct variable type?
float
real
int
char
36 questions
แบบทดสอบครั้งที่ 1 วิชาพื้นฐานการเขียนโปรแกรมคอมพิวเตอร์
Quiz
•
12th Grade
40 questions
Próbny INF.03 2022
Quiz
•
12th Grade
36 questions
PEKAN ULANGAN HARIAN RPL
Quiz
•
12th Grade
40 questions
ข้อสอบการเขียนโปรแกรมคอมพิวเตอร์
Quiz
•
11th Grade
36 questions
AP CS A unit 1
Quiz
•
11th Grade - University
40 questions
TesteTP_UFCD0783_14jan25
Quiz
•
11th Grade
45 questions
PTS - Informatika 11 MIA
Quiz
•
11th Grade
40 questions
C++ Programming
Quiz
•
9th - 12th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University