Search Header Logo

Buổi 21 chuỗi kí tự

Authored by Nhựt Nguyễn

Other

Professional Development

Used 6+ times

Buổi 21 chuỗi kí tự
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

20 sec • 1 pt

Để tính độ dài của một chuỗi kí tự trong C, ta sử dụng hàm nào sau đây?

strlen()
strcpy()
strcat()
strcmp()

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Để sao chép một chuỗi kí tự vào một chuỗi khác trong C, ta sử dụng hàm nào sau đây?

strlen()
strcpy()
strcat()
strcmp()

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Để nối một chuỗi kí tự vào cuối một chuỗi khác trong C, ta sử dụng hàm nào sau đây?

strlen()
strcpy()
strcat()
strcmp()

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Để tìm vị trí xuất hiện đầu tiên của một chuỗi con trong một chuỗi kí tự, ta sử dụng hàm

strchr()
strstr()
strcmp()
strcat()

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Để chuyển một kí tự thường thành kí tự hoa và ngược lại trong C, ta sử dụng hàm nào sau đây?

tolower()
toupper()
islower()
isupper()

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Khi in ra một chuỗi kí tự bằng printf() trong C, ta sử dụng định dạng nào sau đây?

%c
%f
%s
%u

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Để nhập vào một chuỗi kí tự từ bàn phím trong C, ta sử dụng hàm nào sau đây?

gets()
scan()
getchar()
getch()

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?