
Computer Programming 2 Quiz

Quiz
•
Other
•
University
•
Medium

Monica Tolentino
Used 2+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
It is a collection of data that holds fixed number of values of same type.
Array
Functions
Pointers
Program
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How to declare an array in C?
data_type array_name(array_size)
data_type array_name{array_size}
data_type array_name[array_size]
data_type array_name|array_size|
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What index does number 6 in this array?
int mark[5] = {9,4,6,3,5};
4
2
5
1
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output for this program?
int evenNumber[6] = {2, 4, 6, 8, 10, 12};
printf("%d", evenNumber[3]);
10
12
6
8
5.
MULTIPLE SELECT QUESTION
1 min • 3 pts
There are three types of array, what are those? Select 3 answers.
One-dimensional array
Five dimensional array
Two-dimensional array
Zero-dimensional array
Multidimensional array
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What do you call by the number 3 inside the square brackets?
int number[3] = {0, 5, 1};
index
size of the array
size of the variable
number
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
It is a block of code that performs a specific task, it will only run when it is called.
Array
Functions
Pointers
Program
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quanta

Quiz
•
University
20 questions
Jaringan Ikat

Quiz
•
University
20 questions
CIE-1_DSA:Unit1&Unit2

Quiz
•
University
25 questions
ULANGAN SEMSTER GENAP MAPEL PD

Quiz
•
12th Grade - University
20 questions
Konsep Struktur Data

Quiz
•
University
19 questions
Quiz on One-Dimensional and Two-Dimensional Arrays

Quiz
•
University
21 questions
Manajemen Banquet

Quiz
•
University
20 questions
Season 5 #Spaic Python Weekly Quiz

Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University