Search Header Logo

1111

Authored by Muhamad Mustamiin

Computers

University

Used 3+ times

1111
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

64 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Tipe data untuk bilangan bulat dalam C++ adalah?

int
float
double
char
bool

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Tipe data yang digunakan untuk menyimpan satu karakter dalam C++ adalah?

char
string
text
character
byte

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Apa output dari kode berikut? ` int x = 7; int y = 2; int c = x / y; cout << c; `

3.5
3
4
Error
0

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Tipe data yang memiliki presisi lebih tinggi dari `float` adalah?

int
double
char
bool
long

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Tipe data yang tepat untuk menyimpan nilai kebenaran (true/false) dalam C++ adalah?

bool
int
char
float
string

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Manakah dari berikut ini yang BUKAN termasuk tipe data dasar (primitive data type) di C++?

int
float
class
char
bool

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Bagaimana cara mendeklarasikan konstanta dalam C++?

const int x = 10;
#define x 10
let x = 10;
static x = 10;
permanent int x = 10;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?