Functions Quiz

Functions Quiz

University

8 Qs

quiz-placeholder

Similar activities

GLS290 Aerial Camera

GLS290 Aerial Camera

University

10 Qs

CAREER DISCOVERY SERIES (BEYOND BORDERS)

CAREER DISCOVERY SERIES (BEYOND BORDERS)

University

10 Qs

Slavery

Slavery

6th Grade - Professional Development

8 Qs

Lecture 7 : Fencing & Gates

Lecture 7 : Fencing & Gates

University

10 Qs

oral radiology quiz 2 midterm

oral radiology quiz 2 midterm

University

10 Qs

Economic growth

Economic growth

University

12 Qs

the parasympathetic system

the parasympathetic system

University

10 Qs

COE Quizzes 19/05/2022

COE Quizzes 19/05/2022

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?