Programming Fundamentals Quiz

Programming Fundamentals Quiz

University

28 Qs

quiz-placeholder

Similar activities

3D Graphics Quiz

3D Graphics Quiz

University

29 Qs

Чтение файлов

Чтение файлов

University

25 Qs

2.1.3 Network Topology

2.1.3 Network Topology

University

23 Qs

Platform Technologies (Prelims)

Platform Technologies (Prelims)

University

24 Qs

Danger online

Danger online

7th Grade - University

25 Qs

Cybercrime exercise

Cybercrime exercise

7th Grade - University

23 Qs

JAVA - Day1

JAVA - Day1

University

23 Qs

Cybersecurity Quiz

Cybersecurity Quiz

University

26 Qs

Programming Fundamentals Quiz

Programming Fundamentals Quiz

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Duan Steyn

Used 1+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the Console.WriteLine() method?

Reads only one single character from the standard input stream

Reads a single line from the standard input stream

Writes a specified string value to the standard output stream

Returns an integer after reading a single character

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store characters in C#?

float

char

int

double

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 20 % 4 in C#?

0

2

1

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for multiplication in C#?

/

-

*

+

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If 1 + 1 = 2, and 2 + 2 = 4, what is 3 + 3

6

Fish

A question for a mathematician, not me

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the boolean data type in C#?

To store characters

To evaluate conditions as true or false

To perform arithmetic operations

To store floating-point numbers

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to calculate the remainder of a division operation in C#?

/

*

%

+

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?