
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
7 questions
Javascript

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

Quiz
•
9th - 12th Grade
8 questions
Câu hỏi về danh sách trong Python

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

Quiz
•
11th Grade
10 questions
RUNG CHUÔNG VÀNG

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

Quiz
•
11th Grade
12 questions
Ôn tập Khối 11

Quiz
•
10th Grade
15 questions
Tin học 12: Bài 1. Một số khái niệm cơ bản

Quiz
•
12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade