
Hí tin
Quiz
•
English
•
11th Grade
•
Practice Problem
•
Medium
Thảo Phạm
Used 2+ times
FREE Resource
Enhance your content in a minute
31 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Program vidu;
Var s:string [50] ;
Procedure In(s: string);
Var i:integer ;
Begin
I:=1;
While(i<= length (s) ) do
Begin
Writeln ( s[i] );
I := i+1 ;
End;
Begin
S := 'tinhoc';
In(s);
End.
Số dòng chương trình in ra màn hình là bao nhiêu?
6 dòg
7 dòg
50 dòg
Vô số dòng
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Program chương_trinh;
Var a,b,s :byte;
Procedure TD (var x: byte; y: byte);
Var i: byte;
Begin
I:= 5;
Writeln (x,' ',y);
X := x+1;
Y := y+1;
S := s+1;
Writeln (x,' ',y);
End;
Begin
Write('nhap a và b : ');
Readln (a,b);
TD(a,b);
Writeln (a,' ', b,' ', s);
Readln;
End .
Trong chương trình trên có các biến toàn cục là;
X và y
I
A ,b và s
A và b
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để gắn tên tệp cho biến tệp ta sử dụng câu lệnh
<biến tệp>:=<tên tệp>;
<tên tệp>:=<biến tệp>;
Assign( <biến tệp>:=<tên tệp>);
Assign( < tên tệp>:=<biến tệp>);
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mở tệp để ghi dữ liệu , ta sử dụng thủ tục
Rewrite( <tên tệp>);
Reset( <tên tệp>);
Reset ( <biến tệp>);
Rewrite ( <biến tệp>);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để đọc dữ liệu từ tệp văn bản ta có thể sử dụng thủ tục:
Real ( <tên tệp>,<danh sách biến>);
Read( <biến tệp>,<danh sách biến>);
Real ( <biến tệp>,<danh sách biến>);
Read( <tên tệp>,<danh sách biến>);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để thao tác với tệp:
Ta có thể gắn tên tệp cho biến tệp hoặc sử dụng trực tiếp tên tệp cũng được
Ta nhất thiết phải gắn tên tệp cho biến tệp
Ta nhất thiết phải sử dụng trực tiếp tên tệp trong chương trình
Ta nên sử dụng trực tiếp tên tệp trong chương trình
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong pascal để khai báo biến tệp văn bản ta sử dụng cú pháp:
Var( <tên tệp>:text;
Var <biến tệp>:text;
Var <tên tệp>: string;
Var <biến tệp>: string;
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
26 questions
Vocabulary
Quiz
•
11th Grade
26 questions
Viết lại câu sử dụng There is/There are/ have
Quiz
•
6th Grade - University
27 questions
Grade 7 - UNIT 1. HOBBY
Quiz
•
1st - 12th Grade
27 questions
Words2B
Quiz
•
9th - 12th Grade
36 questions
G11_Unit 4: Caring for those in need
Quiz
•
11th Grade
26 questions
giữa kì 2
Quiz
•
11th Grade
27 questions
E11- UNIT 12.Asian Games
Quiz
•
11th - 12th Grade
26 questions
READING Unit 1 - A visit from a penpal
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for English
9 questions
The Art of the Haiku
Lesson
•
6th - 12th Grade
14 questions
2022 Frederick Douglass Review
Quiz
•
11th Grade
7 questions
SPARK 12/18/25
Lesson
•
9th - 12th Grade
16 questions
Rhetorical Appeals Quiz
Quiz
•
11th Grade
10 questions
Commas-Compound & Complex Sentences
Quiz
•
8th - 11th Grade
10 questions
The Best Christmas Pageant Ever Chapter 5
Quiz
•
KG - University
10 questions
ACT 3: Humanities Common Assessment
Quiz
•
9th - 12th Grade
