
Post Test C++
Authored by Elis Yuniasari
Computers
9th - 12th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa Sintaks untuk menuliskan output dalam C++ ?
cout << "Hello World"
output << "Hello World"
Print<<"Hello World"
show<<"Hello World"
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Bagaimana cara menulis komentar dalam C++ ?
//ini komentar
#ini komentar
<!ini komentar>
<ini komentar>
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Cara membuat variabel di C++ ?
let umur = 15;
int umur = 15;
var umur = 15;
$umur = 15;
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Bagaimana cara membuat program meminta input untuk user ?
input(umur);
inp(umur);
System.input();
cin>>umur;
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Cara Membuat fungsi pada C++ ?
cout<<Permutasi
#include <Permutasi>
int Permutasi (int x, int y)
Permutasi (x,y)
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
File header yang digunakan pada program c++ agar fungsi matematika pada program dapat bekerja adalah ...
iostream
#include<cstdlib>
cstdlib
cmath
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Setiap perintah di dalam C++ selalu diakhiri dengan tanda?
:
)
;
}
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?