
Computer Programming 2 Quiz
Authored by Monica Tolentino
Other
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
20 questions
BSM 414 - Cross-Cultural Communication Review Quiz
Quiz
•
University
20 questions
ENG2044 Concept Review
Quiz
•
University
20 questions
General knowledge
Quiz
•
3rd Grade - University
20 questions
Agri Marketing 1
Quiz
•
University
20 questions
SPS113: TUTORIAL 7
Quiz
•
University
20 questions
Techotsav
Quiz
•
University
18 questions
The Big Short, Chap. 1
Quiz
•
12th Grade - University
20 questions
CryptoFactories.io v1.0
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University