IPC144 -- Midterm Review

Quiz
•
Computers
•
University
•
Medium

Adam Gariba
Used 105+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
{blank} is compiled into {blank}
binary code, source code
source code, binary code
c, int main
c, c++
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int main(void) { }
is the endpoint of the program
is the starting point of the program
is the middle point of the program
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
printf("\n");
prints a newline
prints \n
prints n
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const pi = 3.14159;
is an unmodifiable value
is the declaration for a constant value named pi
is an error
is a floating point number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int i = 0;
printf("%d", i++);
prints 0 to the screen
prints 1 to the screen
prints nothing to the screen
prints %d to the screen
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the following code, what would be the final value of k?
int i = 0;
int j = 1;
int k = -1;
k = (i ==0 || j == 1);
k is 1
k is 0
k is -1
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
output is: 12345
output is: 1234
compiler error
8.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
output is: 12345
output is: 12
output is: 54321
output is: 54
9.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
the output is:
1 Sierra
2 Romeo
the output is:
1 Sierra
this will generate a compiler error
Similar Resources on Wayground
12 questions
C Basics

Quiz
•
University
10 questions
C Programming Quiz-5

Quiz
•
University
10 questions
C Classes

Quiz
•
University
10 questions
Java Quiz

Quiz
•
University
10 questions
Session 2

Quiz
•
University
10 questions
Python Basics

Quiz
•
University
11 questions
Array

Quiz
•
University
14 questions
Java Operators

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