Search Header Logo

Session 02: Variable - Data types - Operators

Authored by haibt@rikkei.edu.vn rikkei

Information Technology (IT)

University

Used 70+ times

Session 02: Variable - Data types - Operators
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong ngôn ngữ C, kiểu dữ liệu nào được sử dụng để lưu trữ số nguyên?

A. float

B. int

C. char

D. double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Từ khóa nào được sử dụng để khai báo một biến trong C?

A. variable

B. define

C. int

D. var

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào được sử dụng để lưu trữ một ký tự đơn lẻ?

A. char

B. string

C. int

D. float

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Toán tử nào được sử dụng để so sánh hai giá trị trong C?

A. =

B. ==

C. !=

D. >=

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ký tự nào được sử dụng để kết thúc một câu lệnh trong C?

A. .

B. ,

C. ;

D. :

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biến nào sau đây được khai báo đúng với quy tắc đặt tên biến trong C?

A. int 1number;

B. int number_1;

C. int number-1;

D. int number 1;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào có thể lưu trữ giá trị số thực?

A. int

B. char

C. float

D. bool

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?