
Session 17+18: String

Quiz
•
Information Technology (IT)
•
University
•
Medium
academy rikkei
Used 32+ times
FREE Resource
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
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Information Technology (IT)
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University