
Sử dụng biến và hằng trong chương trình

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Pham Thanh
Used 3+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
RUNG CHUÔNG VÀNG

Quiz
•
11th - 12th Grade
10 questions
Bài kiểm tra 15 phút

Quiz
•
11th Grade
7 questions
Javascript

Quiz
•
6th - 12th Grade
10 questions
tin 8 bài 2

Quiz
•
6th - 9th Grade
10 questions
KTTX TIn 11 Lần 3 HK 2 22-23

Quiz
•
9th - 12th Grade
10 questions
Python_10 câu

Quiz
•
10th Grade
10 questions
KIỂM TRA TRẮC NGHIỆM BÀI 15 TIN HỌC 11

Quiz
•
11th Grade
10 questions
10 câu kiểu xâu tiết 1

Quiz
•
11th Grade
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade