Programming Fundamentals Quiz

Programming Fundamentals Quiz

University

28 Qs

quiz-placeholder

Similar activities

QUIZ 1 - INTRODUCTION IN ARDUINO AND SKETCHING IN CODE

QUIZ 1 - INTRODUCTION IN ARDUINO AND SKETCHING IN CODE

University

30 Qs

Introdução a Programação Estruturada em C

Introdução a Programação Estruturada em C

University

26 Qs

FOS  QUIZ 7

FOS QUIZ 7

University

25 Qs

Revision Quiz 3

Revision Quiz 3

9th Grade - University

30 Qs

Finals Quiz

Finals Quiz

University

25 Qs

Computer Networks

Computer Networks

University

24 Qs

PPL (QUIZ 4) Programming Control Structures

PPL (QUIZ 4) Programming Control Structures

University

30 Qs

Year 5 ICT Revision Quiz

Year 5 ICT Revision Quiz

5th Grade - University

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

Discover more resources for Information Technology (IT)