IPC144 -- Midterm Review

IPC144 -- Midterm Review

University

9 Qs

quiz-placeholder

Similar activities

JRB2 Quiz 4

JRB2 Quiz 4

University

10 Qs

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

Perangkat komputer

Perangkat komputer

University

10 Qs

Logika Fuzzy

Logika Fuzzy

University

10 Qs

BB

BB

University

10 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

KIỂM TRA BUỔI 1

KIỂM TRA BUỔI 1

University

10 Qs

IPC144 -- Midterm Review

IPC144 -- Midterm Review

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Adam Gariba

Used 105+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

output is: 12345

output is: 1234

compiler error

8.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

output is: 12345

output is: 12

output is: 54321

output is: 54

9.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

the output is:

1 Sierra

2 Romeo

the output is:

1 Sierra

this will generate a compiler error