Programmer Quiz

Programmer Quiz

12th Grade

20 Qs

quiz-placeholder

Similar activities

Mengenal Algoritma dan Pemrograman C++

Mengenal Algoritma dan Pemrograman C++

10th Grade - University

15 Qs

Unit 3 Python TEST

Unit 3 Python TEST

11th - 12th Grade

20 Qs

C++ programming

C++ programming

7th - 12th Grade

20 Qs

Array

Array

10th - 12th Grade

20 Qs

IST P-STEM Unit 1 Hardware and Python Review

IST P-STEM Unit 1 Hardware and Python Review

8th - 12th Grade

20 Qs

Java Casting & Booleans

Java Casting & Booleans

10th - 12th Grade

20 Qs

Practice <ultiple Choice - APCSA

Practice <ultiple Choice - APCSA

9th - 12th Grade

18 Qs

C++ Unit 1 Review

C++ Unit 1 Review

9th - 12th Grade

15 Qs

Programmer Quiz

Programmer Quiz

Assessment

Quiz

Computers, Fun

12th Grade

Hard

Created by

YUSUF SUGIARTO

Used 151+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many years do you have to go to school?

6 years

8 years

4 years

12 years

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is computer code.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Computer programmers work with Software developers.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What computer language is used most often?

HTML

C

Java

C++

C#

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>

void main()

{

int k = 0;

for (k)

printf("Hello");

}

Compile time error

hello

Nothing

Varies

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following C++ code?

int x = 35;

int y = 45;

int z;


if (x > y)

z = x + y;

else

z = y – x;


cout << x << " " << y << " " << z << endl;

35 45 80

35 45 10

35 45 –10

35 45 0

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assume you have three int variables: x = 2, y = 6, and z.

Choose the value of z in the following expression: z = (y / x > 0) ? x : y;.

2

3

4

6

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?