Search Header Logo

WQUIZ_#1 - CC123(C)

Authored by Robin Arcilla

Other

University

Used 2+ times

WQUIZ_#1 - CC123(C)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

26 questions

Show all answers

1.

OPEN ENDED QUESTION

1 min • Ungraded

Student Name: LN, FN, MI

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

1 min • Ungraded

COURSE/YEAR AND SECTION

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which is not a proper prototype?

int funct(char x, char y);
double funct(char x)
void funct();
char x();

4.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is the return type of the function with prototype: "int func(char x, float v, double t);"

char
int
float
double

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following is a valid function call (assuming the function exists)?

funct;
funct x, y;
funct();
int funct();

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

Which of the following is a complete function?

int funct();
int funct(int x) {return x=x+1;}
void funct(int) {cout&tl;<"Hello"}
void funct(x) {cout<<"Hello"}

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is the only function all C++ programs must contain?

start()
system()
main()
program()

Access all questions and much more by creating a free account

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

Already have an account?