Programare cu avansat 4

Programare cu avansat 4

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

Cos’è la ROM?

Cos’è la ROM?

6th - 12th Grade

10 Qs

Internet

Internet

4th - 6th Grade

11 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

Gimp

Gimp

7th Grade

12 Qs

Teknologi Maklumat dan Komunikasi (Pangkalan Data)

Teknologi Maklumat dan Komunikasi (Pangkalan Data)

6th Grade

10 Qs

Tin 8/1

Tin 8/1

KG - University

10 Qs

loop while/do while

loop while/do while

7th - 12th Grade

10 Qs

HTML Öğreniyorum!

HTML Öğreniyorum!

8th Grade

10 Qs

Programare cu avansat 4

Programare cu avansat 4

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Medium

Created by

Ali Cabas

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Care ciur implementat corect?

Media Image
Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Care gaseste cmmdc dintre 2 numere corect

Media Image
Media Image
Media Image
Media Image
Media Image

3.

DRAG AND DROP QUESTION

1 min • 1 pt

ciur[0]=ciur[1]=​ (a)   ;

for(int i=​ (b)   ; i*i<=n; i++) {

if(​ (c)   ) {

for(int j=i*i; j<=n; ​ (d)   )​ (e)   }

1
2
ciur[i]==0
j+=i
ciur[j]=1;
ciur[i]=1;
if(ciur[i]!=0)
0
i*i
j++

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

int v1[10]={5,5,7,11,13,6,4,2,8,10};

int v2[10]={3,5,7,8,2,1,0,4,9,6};

cout << v1[ v2[0] ];

7

13

11

5

5.

MATCH QUESTION

1 min • 1 pt

Care se potriveste?

#include <algorithm>

reverse(v,v+n);

#include <fstream>

cin >> a;

#include <iostream>

INT_MAX;

INT_MIN

#include <limits.h>

ifstream fin("test.in");

#include <bitset>

bitset<105> ciur;

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

int v1[10]={3, 5, 7, 10, 11, 11, 18, 24, 26, 31};

int v2[5]={4, 5, 8, 9, 10};

Dupa program respectiv afiseaza?

3 4 5 5 7 8 9 10 10 11 11 18 24 26 31

3 5 7 4 5 8 9 10 10 11 11 18 24 26 31

4 5 8 9 10 3 5 7 10 11 11 18 24 26 31

4 3 5 5 8 7 9 10 10 11 11 18 24 26 31

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Care citeste textul respectiv si afiseaza fiecare caracter citit?

abd klmn abcd dert daer

char c;

while(1) {

cin >> c;

if(c=='\n') break;

cout << c << " ";

}

string s;

while(cin>>s) {

cout << s[0] << " ";

}

string s;

cin >> s;

for(i=0; i<s.size(); i++) {

cout << s[i] << " ";

}

char c;

while(1) {

cin.get(c);

if(c=='\n') break;

cout << " ";

}

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?