Question: A . int a = 3 2 , b = 4 0 . 6 ; B . int a = 4 2 ; b =
A int ;
B int ;;
C int ; int ;
Which of the following is a correct identifier in
Avar name
C VAR
BVARNAME
Which of the following is used as comments for a block of codes in
A I comment
C both comment or comment
D comment
Which of the following escape sequence represents carriage return?
A
C
B
Dc
Which of the following escape sequence represents tab?
A VIT
C
B
What is the size of a boolean variable in C#
A bit
C bytes
B byte
Which of the following is an exitcontrolled loop?
A for
C dowhile
B while
D all of the mentioned
Given the general structure of a forloop as "forI;II;ITIV in which part is termination condition checked?
A I
B I
C II
D IV
Which of the following correctly declares a single dimensional array in C#
A int myArr New int;
C int myArr new int;
B intO myArr new int ;
Which of the following statements are equal?
D intO myAr new int;
A it and
C rei and
B i and it
DI and
What is the index of the last element of an array with elements?
A
C
B
D Programmerdefined
Which of the following accesses the seventh element stored in a single dimensional uray?
A array;
C array;
B array;
The In symbol creates:
D array;
A New line
C Space equal to a tab
B White Space
D None of them
When one loop is nested inside another loop, which of them runs the most number of times?
A The outer loop
C Both would run equal number of times
D None of the above
How many Bytes are stored by Long' Data type in net?
A
C
B
D
Given the assignment
"int : what is the
Console WriteLinecc;
results
A
B
D
C
Default Type of number without decimal is
A Long Int
B Unsigned Long
D Unsigned Int
The expression X AND Y is aan:
A Arithmetic operation
B Boolean operation
C Relational operation
D Both Boolean and Arithmetic
The correct way of incrementing an operator is:
A C
B
D
Which of the following programming languages are classified as low level languages?
A BASIC, COBOL, Fortran
C C C
B Prolog
D Assembly languages
Programs written in High Level Languages are converted to machine code using either or
A Computer, Tablet
B Microprocessor, Microvontroller
C Translator, Compiler
D Compiler, Interpreter
Which of the following if statements correctly executes three instructions if the condition is true?
Aif :
B if ;
C If
D if :
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
