WorksheetsC Quiz
Total questions: 24
Worksheet time: 18mins
2 Assignment Operators
*=
<<
=>
<<=
!=
3 Logical Operators
&&
!!
||
!
&
2 Loops
While
From
For
Whill
3 Variables
Integers
For
String
Character
While
Strings are used for storing text/characters.
True
False
Arrays are used to store multiple values in a single variable, instead of declaring separate variables for each value.
True
False
The switch expression is evaluated once.
True
False
Loops can execute a block of code as long as a specified condition is reached.
True
False
|| Reverse the result, returns false if the result is true
True
False
Whole Number for Float.
True
False
* to Multiplies two Number.
True
False
This will declare the variable as "constant", which means unchangeable and read-only.
True
False
/n for New Line.
True
False
C# was developed as an extension of C.
True
False
Comments start with two forward slashes.
(a)
Who Created C?
(a)
You can also get a string entered by the user:
(a)
Can be used to perform certain operations on strings.
(a)
Used to store multiple values in a single variable, instead of declaring separate variables for each value.
(a)
Year created C.
(a)
stores single characters.
(a)
Breaks one iteration (in the loop), if a specified condition occurs, and continues with the next iteration in the loop.
(a)
Returns true if both statements are true
(a)
stores (whole numbers), without decimals.
(a)
