Fie n cel mai mare număr natural prim de 5 cifre cu toate cifrele distincte. Care este restul împărtirii lui n la 37?

TestClasa9Grile

Quiz
•
Computers
•
9th Grade
•
Hard
Chis Lucian
Used 2+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
15
31
4
11
27
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Variabila n reprezintă un număr natural cu exact două cifre. Precizați câte dintre expresiile următoare au valoarea 1/true dacă și numai dacă, cifrele lui n au aceeași paritate.
(n/10–n%10)%2==0
n/10%2==n%2
n/10==n%10
(n/10+n%10*10)%2==n%2
n/2==n%2
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
În secvența următoare variabilele n și m au ca valori numere naturale.
n=42015; m=0;
while(n>0) { m=m*100+n/10%10*10+n%10;
n/=100; }
După rularea secvenței, valoarea variabilei m este:
15024
15204
24051
51024
152004
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Variabila x este de tip întreg și reprezintă o cifră nenulă. Precizați care dintre expresiile următoare este echivalentă cu expresia: x == 7 || x == 5
35%x==0
x!=7&&x!=5
!(x!=7&&x!=5)
x>4&&!(x%2==0||x%3==0)
!(x!=7||x!=5)
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Precizați care dintre următoarele expresii are valoarea 1/true dacă şi numai dacă numărul natural nenul memorat în variabila x nu este divizibil cu 6.
x==6
x%6 == 0
x/6>0
x%2+x%3>0
x>6
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Precizați care dintre următoarele instrucțiuni este corectă dacă variabilele x, y și z au declarările de mai jos:
float x; int y,z;
x = x*y%z;
x = z%y*x;
x = x%y*z;
x = x%z;
y = z%x;
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Precizați care este instrucţiunea prin care variabilei y i se atribuie numărul obţinut prin inversarea ordinii cifrelor numărului natural format din exact 2 cifre, memorat în variabila întreagă x.
y=x/10*10+x%100;
y=x%10+x/10;
y=x%10*10+x/10;
y=x%100/10;
y=x%10/10;
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Arhitectura calculatoarelor

Quiz
•
5th - 12th Grade
10 questions
Componentele unui sistem de calcul

Quiz
•
5th - 9th Grade
16 questions
Structuri repetitive în C++

Quiz
•
9th - 12th Grade
9 questions
EXPRESII C/C++

Quiz
•
9th Grade
9 questions
Quiz on tablouri bidimensionale c++

Quiz
•
9th Grade
15 questions
Structuri neomogene

Quiz
•
9th - 12th Grade
10 questions
Microsoft Excel_1

Quiz
•
8th - 9th Grade
10 questions
Instrucțiuni simple

Quiz
•
9th - 11th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade