IPC144 - Week 3

IPC144 - Week 3

University

28 Qs

quiz-placeholder

Similar activities

C- Geniusia

C- Geniusia

University

25 Qs

OCR J275 - Data Representation

OCR J275 - Data Representation

KG - University

23 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

Java Programming Midterm Exam WRI

Java Programming Midterm Exam WRI

University

30 Qs

programming quiz

programming quiz

University

25 Qs

Operators

Operators

University

32 Qs

Operators in C

Operators in C

University

24 Qs

C Programing

C Programing

University

25 Qs

IPC144 - Week 3

IPC144 - Week 3

Assessment

Quiz

Created by

Michael Kolasa

Computers

University

23 plays

Medium

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of char?

8 Bits

8 Bytes

4 Bits

4 Bytes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int? (in a 32-bit environment)

4 Bytes

16 Bytes

2 Bytes

8 Bytes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is an example of postfix operator?

i++

++i

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a prefix operator?

++i

i++

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "const" keyword signify in a declaration? (ex. "const int x = 7")

That "x" can be changed after initialization

That "x" cannot be changed after initialization

That "x" is a super int

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the variable which doesn't comply with naming conventions

int auto = 7;

int 8auto = 7;

int auto_word = 7;

int _auto = 7;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the backslash (\) signify when placed before a symbol?

A hack in the mainframe

An entrance sequence

An escape sequence

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?