Search Header Logo

Quiz C++

Authored by Fica Aida

Other

1st - 3rd Grade

Used 7+ times

Quiz C++
AI

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 • 5 pts

Bagaimana cara penulisan komen pada pemrograman C++ ?

#

//

/

/*

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Type data mana yang digunakan untuk membuat variabel yang dapat menyimpan teks?

string

myString

Txt

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Bagaimana cara membuat variabel dengan numerik yang bernilai 5?

x = 5.0;

int x = 5;

num = 5;

num x = 5;

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Bagaimana cara membuat variabel pecahan dengan nilai 2.8?

int x = 2.8;

x = 2,8

float = 2,8

double x = 2.8;

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Header mana yang digunakan untuk fungsi input output?

#include <stream>

#include <iosstring>

#include <inputstr>

#include <iostream>

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Operator mana yang bisa digunakan untuk membandingkan dua nilai?

><

==

<>

=

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Bagaimana cara membuat function di C++?

FunctionName{}

FunctionName[]

FunctionName()

FunctionName.

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?