Date structurate

Quiz
•
Computers
•
KG
•
Hard
Natalia Bespalco
Used 9+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Tipurile de date structurate sunt
Integer
fisier
tablou
boolean
sir de caractere
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Stabiliti care dintre urmatoarele variante reprezinta declararea corecta a unei variabile de tip tablou cu exact 8 componente de tip caracter:
var v : array [0..8] of char ;
var v : array [1..8] of char ;
var v : array[8] of char ;
var v : array [1,8] of char ;
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Precizati care din declaratiile de vectori de mai jos sunt corecte:
type tablou_ciudat = array [boolean] of integer ;
var nume : tablou_ciudat ;
type ciudat_de _tot = array [semafor] of semafor ;
type semafor = (rosu,galben,verde) ;
type vector = array [1....10] of integer ;
type domeniu = 1..20 ;
vector = array [domeniu] of real ;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care dintre urmatoarele variante reprezinta o declarare corecta a variabilei a de tipul sir de caractere?
Var a:string [20];
Var a:string[1..20];
var a:char[20];
var a=string;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Fie variabilele a şi b şir de caractere şi i număr natural. Secvenţa de program:
a:='aranjament '+'floral';
b:=' colorat';
insert(b,a,pos(' ',a));
i:=pos('ora',a);
delete(a,i,3);
i:=pos('ora',a);
delete(a,i,2);
write(a);
aranjament colorat floral;
aranjament colt fll;
aranjament colt flal;
aranjament colt fl.
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Pentru a afişa şirul de caractere mai mic, în sens lexicografic, dintre două şiruri date a şi b, folosim instrucţiunile:
if a[0]<b[0] then writeln(a)else writeln(b);
if length(a)<length(b) then writeln(a)else writeln(b);
if a>b then writeln(b)else writeln(a);
if a[1]<b[1] then writeln(a)else writeln(b);
7.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Precizaţi ce va afişa următorul program:
var s,t:string;
i,e,n:integer;
begin
s:='1234567890';
t:='';
for i:=length(s) downto 1 do
begin
val(s[i],n,e);
if n mod 2=1 then t:=t+s[i];
end;
write(t);
end.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
ÔN TẬP TIN 8 HK2 (1)

Quiz
•
7th Grade
13 questions
Tin học 8 Bài 9 Làm việc với dãy số

Quiz
•
8th Grade
8 questions
bài 11 tin 11

Quiz
•
KG
15 questions
Паскаль

Quiz
•
5th Grade
15 questions
Javascript

Quiz
•
10th - 12th Grade
10 questions
9 класс Информатика Одномерный массив данных

Quiz
•
9th - 10th Grade
10 questions
Tipuri de date structurate, C++

Quiz
•
11th Grade
10 questions
Pascal

Quiz
•
1st Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade