
Limbajul de programare C++ ” INSTRUCȚIUNEA IF”
Authored by Nataly Madan
Computers
10th Grade
Used 20+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Care din următoarele instrucţiuni defineşte o constantă MAXSIZE cu valoarea 80 ?
constant MAXSIZE=80
#define MAXSIZE 80
#define MAXSIZE=80
constant MAXSIZE=80
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care din următoarele nu este un tip de date în C ?
int
float
numeric
double
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Care dintre următoarele declaraţii de variabile declară corect o variabilă x ce poate memora valori reale?
float x;
double x;
unsigned float x;
x:float
x:double;
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Care dintre liniile de program de mai jos realizează iniţializarea corectă a variabilei x la declararea sa?
int x==2;
x:int=2;
int x=2;
int x 2;
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care dintre variabile vor avea valori întregi după execuţia secvenţei de program următoare?
int a=3, b, c;
float x=-11.23;
char d;
b=x; d=’A’; c=’M’-‘N’;
variabila x
variabila c
variabila d
variabila a
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Să se verifice utilizarea căror operaţii este permisă :
a-=b;
-a=b;
-a=-b;
a<<=2;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Care dintre următoarele secvenţe de instrucţiuni atribuie variabilei reale x cea mai mare dintre valorile variabilelor reale a şi b sau valoarea lor comună, în cazul în care acestea sunt egale ?
if(a<=b) x=b; else x=a;
if(a<=b) x=a; else x=b;
if(a==b) x=a; else if(b>a) x=b;
x=a; if(x<b) x=b;
nici una dintre secvenţele anterioare
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
10 questions
TIN 10 - BÀI 4
Quiz
•
10th - 11th Grade
18 questions
Communication Technologies
Quiz
•
10th Grade
10 questions
Электронные таблицы. Основные понятия.
Quiz
•
5th - 11th Grade
15 questions
Ôn tập kỳ 2 tin 6
Quiz
•
1st - 12th Grade
11 questions
Cascading Style Sheets
Quiz
•
8th - 12th Grade
15 questions
Начала программирования на языке Паскаль
Quiz
•
8th - 11th Grade
13 questions
RAM&HDD/SSD
Quiz
•
10th - 12th Grade
15 questions
REVISION-Primary & Secondary Storage
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
14 questions
[AP CSP] JavaScript Programming Quiz
Quiz
•
9th - 12th Grade
10 questions
Understanding Computers and Computer Engineering
Interactive video
•
7th - 12th Grade
37 questions
Python - Tuples, Lists, and List Methods
Quiz
•
9th - 12th Grade