
STM20263 Topic 5 - User Defined Function
Authored by Nurliana Musa
Computers
9th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line number that shows function prototype
Pilih nombor baris bagi prototaip fungsi
3
4
5
8
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line number that shows function call
Pilih nombor baris bagi panggilan fungsi
3
4
5
8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which line number that shows function definition for the function paparMenu
Pilih nombor baris bagi definisi fungsi
3
4 to 7
5
8 to 10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the return type of the following function
Apakah jenis pulangan bagi fungsi berikut
char
int
float
void
5.
FILL IN THE BLANKS QUESTION
2 mins • 1 pt
Type the function prototype for the C++ program
Tuliskan prototaip fungsi bagi program C++ ini
(a)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Function is a block or group of statements that perform specific task.
Fungsi adalah satu block atau sekumpulan pernyataan yang melaksanakan tugas tertentu.
TRUE
BETUL
FALSE
SALAH
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the function prototype?
Antara berikut yang manakah prototaip fungsi?
int jumlah = 0;
int kiraJumlah(int, int);
kiraJumlah(5, 6);
int kiraJumlah(int a, int b){
return a+b;
}
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?