Clasa 7-a alg

Clasa 7-a alg

7th Grade

5 Qs

quiz-placeholder

Similar activities

С++ цикл for

С++ цикл for

6th - 9th Grade

10 Qs

Recursivitate 2

Recursivitate 2

1st - 12th Grade

9 Qs

Instrukcja for z zagnieżdżeniem (C++)

Instrukcja for z zagnieżdżeniem (C++)

KG - University

7 Qs

C++ Basics

C++ Basics

7th - 12th Grade

10 Qs

C++ Pointer

C++ Pointer

6th - 8th Grade

10 Qs

Passing Pointers C++

Passing Pointers C++

6th - 8th Grade

10 Qs

C++

C++

7th - 8th Grade

10 Qs

Bài tập trắc nghiệm C++

Bài tập trắc nghiệm C++

3rd - 12th Grade

10 Qs

Clasa 7-a alg

Clasa 7-a alg

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Andreea Gavrila

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sunt operatori aritmetici:

Nu, Și, Sau

+, -, *, /, %;

<, <=, >, >=, =;

adevărat, fals.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Expresia 125-2*(34-2) are ca rezultat:

109

61

3936

0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Care din operatorii de mai jos este un operator logic?

Sau

+

<=

Logic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

O expresie poate fi formată din

O constantă,o variabilă,un șir de constante și/sau variabile legate prin operatori

Operatori

Tabele

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Alege codul potrivit pentru problema data.

Se considera doua numere a si b. Sa se adune cele doua numere si sa se afiseze rezultatul.

#include <iostream>

using namespace std;

int main(){

int a; int b; int suma; cout<<"a="; cin>>a; cout<<"b="; cin>>b;

suma=a+b;

cout<<suma;

return 0; }

#include <iostream>

using namespace std;

int main(){

int a; int b; int produs; cout<<"a="; cin>>a; cout<<"b="; cin>>b;

produs=a*b;

cout<<produs;

return 0; }

#include <iostream>

using namespace std;

int main(){

int a; int b; int scadere; cout<<"a="; cin>>a; cout<<"b="; cin>>b;

scadere=b-a;

cout<<scadere;

return 0; }