Trắc nghiệm xâu

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
GV Hoa
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Cách khai báo biến xâu nào dưới đây là đúng?
Var A= String;
Var A: String[265];
Var A: String[30];
Var A: String(50);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: So sánh hai xâu sau:
ST1:= ‘CBA’
ST2:= ‘CBa’
ST1 > ST2
ST1 < ST2
ST1 = ST2
ST1 >=ST2
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Cách khai báo biến xâu nào dưới đây là sai?
Var A: string[50];
Var A: string;
Var A=string[30];
Var A: string[1];
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho S:= ‘Tin hoc’; Tham chiếu tới phần tử thứ 4 của S ta được kết quả?
S[4]=‘hoc’
S[4] = ‘’
S[4] = ‘h’
S[4] = ‘ ‘
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5:
Cú pháp khai báo tổng quát, đầy đủ của dữ liệu kiểu xâu là:
Var <tên biến> of String;
Var <tên biến>: String[độ dài lớn nhất của xâu];
Var < tên biến> String[độ dài lớn nhất của xâu];
Var < tên biến> of String[độ dài lớn nhất của xâu];
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Trong ngôn ngữ lập trình Pascal, xâu không có kí tự nào được gọi là gì?
Xâu trắng
Xâu không
Xâu rỗng
Không phải là xâu kí tự
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7. Cho A = ‘Son’; B = ‘La’;
Khi đó A + B cho kết quả nào?
‘Son La’
‘SonLa’
‘La Son’
‘LaSon’
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
HTML CSS JS Review

Quiz
•
12th Grade
10 questions
Bài 24-Xâu kí tự

Quiz
•
10th Grade
10 questions
Recuperação 2

Quiz
•
11th Grade
10 questions
Evaluasi Javascript 3

Quiz
•
10th Grade
8 questions
Basics of JavaScript

Quiz
•
12th Grade
6 questions
Nhanh như chớp 11C1

Quiz
•
9th - 12th Grade
10 questions
TIN 11- KIỂU XÂU

Quiz
•
11th Grade
10 questions
Символьные величины 9 класс

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade