Search Header Logo

Clasa 7-a alg

Authored by Andreea Gavrila

Computers

7th Grade

Clasa 7-a alg
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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; }

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?