Quiz UTS Pemrograman Dasar C++

Quiz UTS Pemrograman Dasar C++

10th Grade

20 Qs

quiz-placeholder

Similar activities

Grade 10 TLE ICT Final Unit Test 1

Grade 10 TLE ICT Final Unit Test 1

10th Grade

20 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

ÔN TẬP BÀI 3

ÔN TẬP BÀI 3

7th - 12th Grade

16 Qs

CÂU HỎI ÔN TAP HKI

CÂU HỎI ÔN TAP HKI

5th Grade - University

21 Qs

BAB BK

BAB BK

10th Grade

20 Qs

Pre-Test Pertemuan 5

Pre-Test Pertemuan 5

1st Grade - University

15 Qs

PH 1 remedial

PH 1 remedial

10th Grade

20 Qs

UTS TIK Kelas X

UTS TIK Kelas X

10th Grade

18 Qs

Quiz UTS Pemrograman Dasar C++

Quiz UTS Pemrograman Dasar C++

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

KURNIA AGUS

Used 130+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to output "Hello World" in C++?

System.out.println("Hello World");

cout << "Hello World";

Console.WriteLine("Hello World");

print ("Hello World");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

C++ is an alias of C#

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in C++ code?

# This is a comment

// This is a comment

/* This is a comment

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to create a variable that should store text?

Txt

string

String

myString

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the numeric value 5?

int x = 5;

x = 5;

num x = 5

double x = 5;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the floating number 2.8?

double x = 2.8;

byte x = 2.8

int x = 2.8;

x = 2.8;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method can be used to find the length of a string?

length()

getSize()

len()

getLength()

Create a free account and access millions of resources

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?