Programming Fundamentals Quiz

Programming Fundamentals Quiz

University

28 Qs

quiz-placeholder

Similar activities

DSA reviewer

DSA reviewer

University

26 Qs

QUIZ

QUIZ

University

30 Qs

C-Volution (Easy 1)

C-Volution (Easy 1)

University

30 Qs

Information Security Quiz

Information Security Quiz

University

25 Qs

Python Básico

Python Básico

University

30 Qs

Finals Quiz

Finals Quiz

University

25 Qs

PPL (Quiz 5)  Procedures and Functions

PPL (Quiz 5) Procedures and Functions

University

25 Qs

Review Python_G8

Review Python_G8

8th Grade - University

28 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?