Question: The execution of a C# program begins with A . Main 0 B . get 0 C . class 0 D . display 0 Computer
The execution of a C# program begins with
A Main
B get
C class
D display
Computer Programming Languages can be classified based on all the following except:
A Levels of Abstraction.
B How codes are Translated to Machine Code
C Based on Programming Paradigm
D How long a takes a program to run
"Console. WriteLine is a
A function
C literal
B keyword
D class
The result of executing "Console. WriteLineUMaT"Tarkwa"is a
A UMaT
C UMaT Tarkwa
B Tarkwa
D UMaT. Tarkwa
Low Level languages are
A Machine Independent
B Easy for Humans to understand
C Difficult for humans
D Too low for modern computers
Which of the following statements is true?
A A variable name in # cannot contain a number
B A variable name in # cannot contain an underscore
C A variable name in # can contain an underscore
D CH is a firstgeneration programming language
An Int variable occupies bytes in memory.
A
C
B
D
A bool variable occupies
bytes in memory.
A
C
B
D
does not support
statement.
Ago
C break
Bif
D continuc
Which is an entrycontrolled looping statement?
A switch
C dowhile
B while
D break
Which of the following structures is not supported by
A forloop
C allwhile loop
B Whileloop
D dowhile loop
is a collection of elements in contiguous locations in computer's memory.
A Nested loop
C Class
B Struct
D Array
operator returns the reminder of the arithmetic operation.
A
C &
B I
D
The default value for a Boolcan variable is
A
BI
C null
D false
is a typical Example of a third Generation language
A Machine Language
C SOL
D Prolog
In Ci input can be read from the user using
method.
A ReadLine
C getlaput
B Writeline
D showinput
The result of executing "pow in is
A
B
C
Which of the following statements correctly tells the differences between and 'win
A operator is used to assign values from one variable to another variable Whiles operator is used to compare value between two variables
B operator is used to assign values from one variable to another variable Whiles operator is used to compare value between two variables
C No difference between both operators
D None of the mentioned
In a situation where inputs can be one of only two possibilities, Which datatype should be most preferred?
A bool
C char
B String
D long
Select output of the given set of Code: static woid Mainstring args String name sUMaT
Console. Writel.ineGood Morning
name:
A UMaT
B Good Morning
C Good Morning UMaT
D Good Morning name
What is the result of in CA
A
C S
B
D
One common operator for concatenating two strings in C# is
A
B &&
D
Which statement is correct about following set of code? int a;
Aa represents D array of S integers
B aGetUpperBound gives
Ca represents rectangular array of columns and arrays
D cGetUpperBound gives
Which of the following is NOT an Arithmetic operator in C#
B
D
The output of "bool a true, false; Console. WriteLine&& will be:
A
C True
B
D False
The output of "bool true, false, Console. WriteLineallb: will be:
A
B
D False
An
is a symbol that tells the computer to perform certain mathematical or logical
manipulations
A Operator
B Expression
The conditional statement. can only test for equality, whereas can evaluate any type of Boolean expression.
A if switch
C while, it
B switch. if
D if while
The
statement at the end of each block signals the end of a particular case and causes.
an exit from the switch statement, transferring the control to the statement following the switch.
A switch
C continue
D default
Which of the following can best replace a "switchcasedefault" statement?
Aif
C dowhile
B ifelse
D while
Which of the following is a correct declaration of Values to variables a and
A int ;
B int ;;
C int ; int ;
Which of the following is a correct identifier in
Avar name
C VAR
BVARNAME
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
