Multiple Choice Question Test in C#: GCSE, A-Level computer science
Multiple Choice Questions in C# - for GCSE, IGCSE & A -Level -
Time: 15 minutes
Created and Programmed
by
Vivax Solutions
The quiz of multiple choice questions is aimed at the students at GCSE, IGCSE, O Level and A Level in order to check their basic programming knowledge in C# by Microsoft. The quiz is evolving: at the beginning, there will be 20 questions, timed for 15 minutes. I will keep adding questions in due course so that aspiring users / programmers can make progress while doing them. Please watch this space!
1
To comment out a line of code in C#,
2
string [] cities = {....},
3
Console.WriteLine() and Console.Write(),
4
The above code will produce,
5
What you see in the Question 4) is,
6
In order to store π in a variable in an efficient manner,
7
The above is,
8
Console.ReadLine(),
9
The above code snippet will produce,
10
If the above code snippet produces 5, the highlighted code could be,
11
Donald John Trump must be taken from a database, to be printed as the full name of the former US president. The easiest way to achieve this is,
12
What is highlighed in red could be,
13
The above code snippet, when run, will produce,
14
Which statement is true about break in a programme?
15
string prime [] = {2,3,5,7,11,13,19}. To find the size of the array,
16
In order to produce the above output, the highlighted line should be,
17
In the statement, static void Main(stringa args []),
18
In the above code,
19
In C#, you can create muliple functions with the same name provided that
20
A certain function was declared in C# with a single parameter. If it was called without giving an argument, when in use,
0 comments:
Post a Comment