Functions Quiz

Functions Quiz

University

8 Qs

quiz-placeholder

Similar activities

Principles of Management- B. Com Plain II Year (October)

Principles of Management- B. Com Plain II Year (October)

University

10 Qs

Logic Pro X - 101

Logic Pro X - 101

2nd Grade - University

10 Qs

Data Types in C++

Data Types in C++

University

10 Qs

Quiz in Module 14: Constructivism

Quiz in Module 14: Constructivism

University

10 Qs

Carbohydrates

Carbohydrates

University

10 Qs

Chapter 3 (PG)

Chapter 3 (PG)

University

10 Qs

Spanish Influence on American Culture

Spanish Influence on American Culture

University

10 Qs

Functions Quiz

Functions Quiz

Assessment

Quiz

Other

University

Practice Problem

Hard

Created by

Julliene Fajardo

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

8 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

What is the syntax of the function prototype?

2.

FILL IN THE BLANK QUESTION

20 sec • 2 pts

All parameters listed in the function header line must be separated by _______.

3.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which is not a proper prototype?

int funct(char x, char y);

double funct(char x)
void funct();
char x();

4.

FILL IN THE BLANK QUESTION

30 sec • 2 pts

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

dispGrade;

dispGrade x, y;

dispGrade();

int dispGrade();

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a complete function?

int funct();
int funct(int x) {return x=x+1;}
void funct(int) { printf( "Hello");
void funct(x) { printf( "Hello"); }

7.

FILL IN THE BLANK QUESTION

30 sec • 2 pts

Which keyword is used to give back the value?

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?