
Hí tin

Quiz
•
English
•
11th Grade
•
Medium
Thảo Phạm
Used 2+ times
FREE Resource
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;
Create a free account and access millions of resources
Similar Resources on Wayground
31 questions
Cause/ Problem/ Solution - Topic 2 - Writing task 2 - EL41

Quiz
•
11th Grade
36 questions
G11 EXTRA 31 3 ĐỀ SẦM SƠN NINH BÌNH

Quiz
•
11th Grade
26 questions
TIMEZONES 4_U12_PREVREAD

Quiz
•
9th - 12th Grade
35 questions
Công nghệ giữa kì 2 lớp 11

Quiz
•
9th - 12th Grade
30 questions
ÔN TẬP GERUNDS/ INFINITIVES

Quiz
•
10th - 11th Grade
30 questions
[IE F] Global Warming

Quiz
•
9th - 12th Grade
30 questions
Grade 11 - Unit 9 - Voca 1

Quiz
•
11th Grade
30 questions
UNITED STATES

Quiz
•
5th Grade - University
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 English
7 questions
SAT Reading & Writing Practice Test - Reading Focus

Quiz
•
11th Grade
19 questions
Understanding the Circle of Control

Quiz
•
9th - 12th Grade
20 questions
Chronological Order of Events (Chp. 61-70) in Born Behind Bars

Quiz
•
9th - 12th Grade
20 questions
The Crucible Act 1

Quiz
•
11th Grade
8 questions
Elements of Poetry

Lesson
•
9th - 12th Grade
20 questions
Rhetorical Appeals

Lesson
•
9th - 12th Grade
20 questions
Editing and Revising Practice

Quiz
•
9th - 11th Grade
20 questions
Chronological Order of Events (Chp. 48-60) in Born Behind Bars

Quiz
•
9th - 12th Grade