Session 17+18: String

Session 17+18: String

University

14 Qs

quiz-placeholder

Similar activities

Python Basics Quiz

Python Basics Quiz

8th Grade - University

10 Qs

Saberes JAVA 2025-2

Saberes JAVA 2025-2

University

18 Qs

Test wiedzy: Tablice jednowymiarowe w C++

Test wiedzy: Tablice jednowymiarowe w C++

10th Grade - University

15 Qs

2025_PE_U4_act19

2025_PE_U4_act19

University

10 Qs

QUIZ 2 PLC

QUIZ 2 PLC

10th Grade - University

10 Qs

Bài 5: Hoàn thiện và đóng gói

Bài 5: Hoàn thiện và đóng gói

University

15 Qs

Pemrograman & Aplikasi Mikrokontroler (Pengenalan IDE)

Pemrograman & Aplikasi Mikrokontroler (Pengenalan IDE)

11th Grade - University

10 Qs

Quiz 2

Quiz 2

University

10 Qs

Session 17+18: String

Session 17+18: String

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

academy rikkei

Used 39+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được sử dụng để sao chép một chuỗi trong C?

strcpy()

strcat()

strcmp()

strlen()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được sử dụng để nối hai chuỗi trong C?

strcpy()

strcat()

strcmp()

strlen()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được sử dụng để so sánh hai chuỗi trong C?

strcpy()

strcat()

strcmp()

strlen()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được sử dụng để lấy độ dài của một chuỗi trong C?

strcpy()

strcat()

strcmp()

strlen()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Hàm nào được sử dụng để tìm một ký tự trong một chuỗi trong C?

strchr()

strstr()

strtok()

strcpy()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khai báo chuỗi trong C được thực hiện như thế nào?

char chuoi[] = "Hello, world!";

int chuoi[] = "Hello, world!";

float chuoi[] = "Hello, world!";

double chuoi[] = "Hello, world!";

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để so sánh hai chuỗi C để xem chúng có bằng nhau hay không?

if (chuoi1 == chuoi2) { ... }

if (strcmp(chuoi1, chuoi2) == 0) { ... }

if (chuoi1 = chuoi2) { ... }

if (strcmp(chuoi1, chuoi2) != 0) { ... }

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?