
Sử dụng biến và hằng trong chương trình
Authored by Pham Thanh
Computers
9th - 12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tìm điểm sai trong khai báo hằng sau:
Const Max :=2010;
Dư dấu bằng (=)
Tên hằng không được nhỏ hơn 4 kí tự
Từ khóa khai báo hằng sai
Dư dấu hai chấm (:)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo nào sau đây đúng?
Var x, y: Integer;
Var x, y=Integer;
Var x, y Of Integer;
Var x, y := Integer;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Pascal, từ khóa để khai báo biến là:
Const
Begin
Var
Uses
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Pascal, từ khóa để khai báo hằng là:
Const
Begin
Var
Uses
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khai báo biến x thuộc kiểu xâu kí tự ta khai báo:
Var x: String;
Var x: Integer;
Var x: Char;
Var x: Real;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giả sử A được khai báo là biến với kiểu dữ liệu xâu, X là biến với kiểu dữ liệu số thực. Phép gán sau đây là không hợp lệ không?
X:=4.1;
X:=324.2;
A:= ‘3242’;
A:=3242 ;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khai báo sau có ý nghĩa gì?
Var a: Real; b: Char;
Biến a thuộc kiểu dữ liệu số thực và biến b thuộc kiểu dữ liệu kí tự
Biến a thuộc kiểu dữ liệu số nguyên và biến b thuộc kiểu dữ liệu xâu kí tự
Biến a thuộc kiểu dữ liệu số nguyên và biến b thuộc kiểu dữ liệu kí tự
Các câu trên đều sai
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
Kiểm tra giữa kì 2 lớp 7
Quiz
•
9th Grade
10 questions
Tin học 10 Bài 20
Quiz
•
12th Grade - University
10 questions
De 1 - Access
Quiz
•
9th - 12th Grade
15 questions
Sinh hoạt lớp Tuần 7
Quiz
•
1st Grade - University
10 questions
kiểm tra 15 phút tin 7
Quiz
•
6th - 9th Grade
15 questions
Tin học 10-Bài 3
Quiz
•
1st - 10th Grade
10 questions
Bài 1-Thông tin và xử lí thông tin
Quiz
•
10th - 12th Grade
15 questions
Bài 1: Dữ liệu, thông tin và xử lí thông tin
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade