PRF192 - Review 2

PRF192 - Review 2

University

15 Qs

quiz-placeholder

Similar activities

P3 Quiz 😸

P3 Quiz 😸

University

10 Qs

Round 2

Round 2

University

20 Qs

Основы Python

Основы Python

University

19 Qs

Algo-Unlock

Algo-Unlock

University

20 Qs

PROGRAMMING 1 CHECK UP QUIZ

PROGRAMMING 1 CHECK UP QUIZ

University

15 Qs

Post-test array c++

Post-test array c++

University

10 Qs

C Programming 2nd Quiz

C Programming 2nd Quiz

University

10 Qs

functions

functions

University

15 Qs

PRF192 - Review 2

PRF192 - Review 2

Assessment

Quiz

Other

University

Medium

Created by

Phạm Văn Dương 20202652M

Used 21+ times

FREE Resource

AI

Enhance your content

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A comment can be split over more than one line, as follows/** A programto calculate averageof 5 numbers. **/

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which ARE the following statements printf % character?

printf("\%")

printf("\\%")

printf("\%%")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The precedence of operators is ...

Arithmetic, Comparison, Logical

Logical, Comparison, Arithmetic

Comparison, Arithmetic, Logical

Comparison, Logical, Arithmetic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is size of an int ?

8 bits

16 bits

Dependent on machine's "word" size

32 bits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct prototype in C ?

doFunc():char;

char doFunc()

int doFunc(int,int);

int doFunc(int,int);

float doFunc(void);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is (are) wrong ?

a1 = 1343.44;

3=d;

cat = 'A' *** 'B';

asd = 'A'**24;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ___ function after accepting a character and wait for the Enter key to be pressed.

putch()

putchar()

getch()

getchar()

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?