Advanced programming MCQ’s with visual programming
By: Prof. Dr. Fazal Rehman | Last updated: March 3, 2022
Advanced programming MCQ’s with visual programming
1: Data type ‘long’ contains…a) 4b) 8c) 2d) 16
Answer - Click Here:
B
2: Which of the following is corret size of float data type…a) 8 Bytesb) 4 Bytesc) 6 Bytesd) 10 Bytes
Answer - Click Here:
B
3: Which of the folowing is Correct statement about strings…a) a string is primitive in natureb) a string is created on the stackc) created of string on a stack or on a heapd) a string created on heap
Answer - Click Here:
D
4: What is the difference between keywords ‘VAR’&‘DYNAMIC’…a) ‘Var’ is a type of variable where declaration is done at compile time while ‘Dynamic’ declaration is achieved at runtimeb) ‘Var’ is introduced in C# (3.0) and ‘Dynamic’ is introduced in C# (4.0)c) For ‘Var’ Error is caught at compile time and for ‘Dynamic’ Error is caught at runtimed) All of the mentioned
Answer - Click Here:
D
5: Which of the following is true types of ‘Data Conversion’…a) explicit Conversionb) implicit Conversionc) Implicit Conversion and Explicit Conversiond) None of the mentioned
Answer - Click Here:
A
6: Which of the following is the subset of integer data type…a) long, ulong, uintb) long ,ulong, ushortc) long, float, shortd) long, float, double
Answer - Click Here:
D
7: Which of the following is Disadvantage of explicit Conversion…a) Makes program memory heavierb) Potentially Unsafec) Results in loss of datad) none of these
Answer - Click Here:
C
8: …… is notot Relational operators…a) =<>b) <>=c) >=d) <=
Answer - Click Here:
B
9: Which of the following is a conditional operator…a) ‘:?’b) ?;c) ?:d) ??
Answer - Click Here:
C
10: Which of the following is not infinite loop…a) for( ;’1′; )b) for( ;’0′; )c) for( ;’1′; )d) for( ;’0′; )
Answer - Click Here:
D
11: Which of the following is used to define the member of a class…a) #b) :c) ::d) none of these
Answer - Click Here:
C
12: Which of the following is most specified using for class declaration…a) scopeb) typec) type & scoped) None of mentioned