
I 4 test 3
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Lawrence Nelson
Used 3+ times
FREE Resource
Enhance your content in a minute
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function adds a list of numbers and returns the sum. The function head is:
int sum(int list)
void sum(int list)
void sum(int *a, int b)
int sum(int *a, int b)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function adds a list of numbers and returns the sum. The function head is:
float sum(float list)
void sum(float list)
void sum(int *a, int b)
float sum(float *a, int b)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This loops through a string:
for (int i=0; i<100; i++)
for (char a= 0; a < 100; a++)
for (int i=0; str[i]!='\0'; i++)
for (int i=0; i!='\0'; i++)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a void function called stuff(). Which of the following is a legal call to stuff()?
stuff();
int x = stuff()
cout << stuff();
stuff() = 8;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Consider a function called stuff(). Stuff takes an integer and returns a Boolean. Which of the following is a legal call to stuff()?
stuff();
if (stuff(8) == False)
cout << stuff();
stuff(2) = true;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function called stuff() takes an integer and changes its value. A possible function head is:
int stuff()
void stuff(int a)
int & stuff()
void stuff(int &a)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function called stuff() changes the values in a list. A possible function head is:
int stuff()
void stuff(char *a)
int * stuff()
void stuff(int &a, int b)
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
LATIHAN SOAL PTS GENAP KELAS 8
Quiz
•
11th - 12th Grade
45 questions
TryOut Ujian Sekolah Pengetahuan - TIK SMP N 1 JEPARA
Quiz
•
12th Grade
43 questions
Verifica posta elettronica. Email
Quiz
•
8th - 12th Grade
44 questions
Movies
Quiz
•
2nd Grade - Professio...
50 questions
Information Technology
Quiz
•
12th Grade
45 questions
Tin - 12 - ck1
Quiz
•
12th Grade
50 questions
Algoritmika 1.
Quiz
•
10th Grade - University
50 questions
Latihan ASAS TIK Kelas IX
Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Computers
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
18 questions
Thanksgiving Trivia
Quiz
•
4th - 12th Grade
20 questions
Thanksgiving
Quiz
•
KG - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
10 questions
hands washing
Quiz
•
5th - 12th Grade
53 questions
US History Domain 1 Review CP 2025 (Tech Enhanced)
Quiz
•
9th - 12th Grade
