Competitive Programming

Competitive Programming

1st Grade

10 Qs

quiz-placeholder

Similar activities

Previous set Capgemini

Previous set Capgemini

1st - 3rd Grade

12 Qs

Computer Programming 11- Quiz 1

Computer Programming 11- Quiz 1

1st Grade

10 Qs

Базові оператори мови С

Базові оператори мови С

1st - 5th Grade

10 Qs

Advance Python

Advance Python

KG - Professional Development

10 Qs

quiz 1

quiz 1

1st - 4th Grade

10 Qs

KUIZ PYTHON

KUIZ PYTHON

1st - 5th Grade

15 Qs

โครสร้างภาษาCเบื้องต้น

โครสร้างภาษาCเบื้องต้น

1st - 2nd Grade

10 Qs

Technical Quiz

Technical Quiz

1st - 5th Grade

15 Qs

Competitive Programming

Competitive Programming

Assessment

Quiz

Education, Computers

1st Grade

Medium

Created by

Sonali Kumari

Used 15+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of this code?

const double PI=3.1416;

printf("%.2f",PI);

3.141

3.14

3.1416

3.1

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

int count=1;

for(int i=0;i<10;i++){

for(int j=0;j<=10;j++){

count++;

}

}

printf("%i",count);

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

int a=2;

int b=4;

a=b/a;

b=a+b;

a=a*b;

printf("%d",a);

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

int x=1;

x%=3;

printf("%d",x);

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

C language support classes and objects

True

False

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Fill in the blanks to calculate the sum of all elements in the array arr, which contains 7 elements:

int sum=0;

_(int x=0; x<_; x++){

sum+=arr[ _ ];

}

printf("%d",sum);

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the output of this code?

int i=(1,2,3);

printf("%d",i);

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?