Search Header Logo

C++ Quizz

Authored by Uyên Dương

Other

Professional Development

Used 1+ times

C++ Quizz
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

30 sec • 1 pt

Giá trị nào sẽ được in ra khi thực thi chương trình sau ?
main()
{
       char exf[]="Welcome To Viettel R&D";
       printf("%c\n",s[5]);
       printf("%s\n",&s[5]);
}

Lỗi biên dịch.

m
m

o
come To Viettel R&D

m
me To Viettel R&D.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giá trị nào sẽ được in ra khi thực thi chương trình sau.
main()
{
  printf("%d",-5/-4);
}

-2.25

-1.25

-1

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào là kiểu dữ liệu trừu tượng

int

double

string

class

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

cin là một ...

toán tử

hàm

đối tượng

marco

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khái niệm nào của lập trình hướng đối tượng chèn tham biến trong lời gọi hàm nếu nó không được chỉ định rõ?

Call by value

Call by reference

Default argument

call by pointer

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lớp trừu tượng có thể tạo được bao nhiêu bản sao?

1

5

13

0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khái niệm nào có nghĩa là thêm một thành phần vào chương trình lúc chạy.

data hiding

data typing

dynamic binding

dynamic loading

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?