Biến

Biến

2nd Grade

17 Qs

quiz-placeholder

Similar activities

Tin5. Ôn thi cuối HK1 - PĐ1

Tin5. Ôn thi cuối HK1 - PĐ1

1st - 5th Grade

22 Qs

Tinkercad CodeBlocks III

Tinkercad CodeBlocks III

1st - 5th Grade

20 Qs

Teste para prova de Lógica e Linguagem de Programação  2bimestre

Teste para prova de Lógica e Linguagem de Programação 2bimestre

2nd Grade

13 Qs

Tagi formatujące tekst w HTML

Tagi formatujące tekst w HTML

2nd Grade

14 Qs

Scratch

Scratch

1st - 5th Grade

20 Qs

BCCK BLG

BCCK BLG

1st - 5th Grade

20 Qs

CC - 1DS - Instalação/atualizações do Linux Ubuntu

CC - 1DS - Instalação/atualizações do Linux Ubuntu

2nd Grade

16 Qs

Formation numérique (intelligence artificielle) - Part I

Formation numérique (intelligence artificielle) - Part I

2nd Grade

20 Qs

Biến

Biến

Assessment

Quiz

Information Technology (IT)

2nd Grade

Practice Problem

Hard

Created by

Giang Hoang

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Hãy chọn phương án đúng:

Cấu trúc của một chương trình C++ gồm:

phần khai báo, phần thân.

phần thân, phần cuối.


phần khai báo, phần thân, phần cuối.

phần đầu, phần thân, phần cuối.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Hãy chọn phương án đúng.

x là một biến kiểu số thực, để khai báo biến x ta có khai báo sau:

int x;

char x;

double x;

bool x;

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Lệnh gán trong C++ được viết là:

:=

=

==

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Lệnh cout trong C++ đi kèm với dấu nào?

>>

<<

||

\\

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cách khai báo biến nào sau đây là đúng?

Kiểu dữ liệu danh sách tên biến;

danh sách tên biến : kiểu dữ liệu;

Tên biến = giá trị;

danh sách tên biến kiểu dữ liệu;

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cho biến v là biến để biểu diễn vận tốc của 1 chiếc ô tô. Hãy cho biết khai báo biến nào dưới đây là đúng và hợp lý nhất.

long v;

int v;


float v;


char v;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Sau khi thực hiện xong các lệnh gán p=3.14; x= 2*2+5; x=(x+p)*10; thì giá trị của biến x bằng

12.14

121.4

1214

121,4

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?