Part 1 of 1 80.0 100.0 Points Question 1 of 20 5.0 5.0 Points int type variable range is A. 32768 +32767 B. MIN_SIZE to MAX_SIZE C. 2147483648 +2147483647 D. 8388608 +8388607 Question 2 of 20 5.0 5.0 Points byte type variable size is A. 16 bits B. 12 bits C. 8 bits D. 24 bits Question 3 of 20 5.0 5.0 Points double type variable precision is A. 1516 digits B. 1617 digits C. 1213 digits D. 1415 digits Question 4 of 20 5.0 5.0 Points float type variable precision is A. 6 digits B. 8 digits C. 9 digits D. 7 digits Question 5 of 20 0.0 5.0 Points how many number is created while compilation with the declaration below: short s = 1; A. 2 B. 3 C. 1 D. 4 Question 6 of 20 5.0 5.0 Points The syntax for declaring array is: A. arrayname DataType; B. DataType arrayname; C. DataType arrayname; D. arrayname DataType;
Trang 4Question 6 of 20 5.0/ 5.0 PointsThe syntax for declaring array is:
Trang 6B Serial
C Local
D Static
In the following code sample, will the second if structure be evaluated?
bool condition = true;
Trang 8long type variable size is
Trang 9character type variable size is
What are the keywords supported in an if statement?
A if, else, else-if, return
B if, else, else if
C if, else, default
Trang 10D if, else, else if, break
The namespace contains all code required to interact
with the including the console output
Trang 11C Virus
D User services
What are the four basic repetition structures in C#?
A for, foreach, loop, while
B loop, while, do-for, for-each
C do-each, while, for, do
D for, foreach, while, do-while
float type variable size is
A 32 bits
Trang 13A.the default array size for each data type
B.the number of items in the initialization list
C.The number present in the square bracket next to the data type at the right hand side
D.the compilers presetting for each data
type array
Trang 14Question 4 of 20 5.0/ 5.0 Pointsdecimal type variable size is
Trang 16For multiple levels of organizations _ can be used
Trang 21C 9 digits
D 7 digits
What code would we need to implement to have an integer “cast” to a string?
A public static implicit operator String(int i)
Trang 22D None of the above
A only contains one character
B contains exactly its variable name and nothing else
Trang 23C contains numbers rather than letters
D sequence of characters in double quotation marks
Trang 25B foreach (int number in arrNumbers)
Trang 26A String literal is a:
A only contains one character
B contains exactly its variable name and nothing else
C contains numbers rather than letters
D sequence of characters in double quotation marks
Trang 27C 3
D compile error
In the following code sample, will the second if structure be evaluated?
bool condition = true;
Trang 29double type variable range is
A from ±5.0E−256 to ±1.7E320
B from ±5.0E−324 to ±1.7E308
C from ±1.7E−320 to ±1.7E320
D about ±1.5.0E±256
Trang 30What code would we need to implement to have an integer “cast” to a string?
A public static implicit operator String(int i)
Trang 32C Creation of a non-zero based array
Trang 33A uint int ulong long
B int long uint ulong
C int uint long ulong
D ulong long uint int
Trang 34Question 16 of 20 1.67/ 5.0 PointsLINQ can access to
Trang 35C Classes
D System namespace
If an IndexofAny method is passed an array of characters it:
A searches for the first occurrence of any of the characters in the string
B will search for the first occurrence of the sequence of characters
Trang 36The code will generate an error at
compile time at line 9 as the function
Split used is not supported string data
type.
Trang 37B
The code will generate an error at line 10
as conversion not allowed for one array
type to another array type.
C
The code will compile successfully and output will be Programming In c#