BSc-III CPS-.Net-Java-PEA
BSc-III CPS-.Net-Java-PEA
Q1. Which type of applications can be developed using .Net framework platform ?
A. Console applications
B. Windows applications
C. Web services
D. All the above
Ans : D
Q3. The .......provides the services such as just-in-time compilers, garbage collection,
code security, exception handling etc.
A. Common Language Specification
B. Common Language Infrastructure
C. Common Language Runtime
D. Common Intermediate Language
Ans: C
Q4. The.........defines a set of portable instructions that are independent of any specific
CPU.
A. CLR
B. CLS
C. CIL
D. CLI
Ans: C
Q5. Who specify the common syntactical rules for all the .Net supporting languages ?
A. CLR
B. CTS
C. CLS
D. CIL
Ans: C
Q6. Which problem is caused when multiple applications attempt to share common
DLL ?
A. Metadata problem
B. Assembly problem
C. Compilation problem
D. DLL Hell problem.
Ans: D
Q8. In .Net , the memory allocation and de-allocation is done automatically by ............
A. CLS
B. CTS
C. JIT
D. Garbage collector
Ans: D
Q9. Which type of JIT compiler converts the called executable code and stored in
cache so that it will not require converting code again?
A. Pre JIT
B. Econo JIT
C. Normal JIT
D. None of the above
Ans: C
Q13. The smallest unit to which one can associate a version number in .Net is
.............
A. Namespace
B. Assembly
C. Metadata
D. CLS
Ans : B
Q14. The code which is developed in .Net framework during runtime is called............
A. Source code
B. Native code
C. Managed code
D. Executable code
Ans: C
Q15. All the newly created objects are initially stored in the..........
A. Generation 0
B. Generation 1
C. Generation 2
D. None of the above
Ans: A
MCQs on Unit – II , Sem- V
Q1. Visual Basic is a tool that allows you to develop application in…………
A. Real time
B. Graphical User Interface
C. Any time
D. None of the above
Ans: B
Q2. . In visual basic the declaration of variables is done by --------- key word.
A. int
B. dim
C. static
D. declare
Ans: B
Ans: B
Q4. The variables that does not change during the execution of program is ----------
A. Variable
B. Constant
C. Numeric
D. None of the above
Ans: B
Q.11 The Java and Visual Basic .NET belong to this type of programming language.
A. Assembly language
B. Machine language
C. High level programming language
D. Object oriented programming language
Ans: D
Q.12 A window that lists the solution name, the project name and all the forms used in
the project.
A. Properties Window
B. Solution Explorer
C. Windows Form Designer
D. Project Window
Ans: B
Q.13 To declare an integer variable in VB.NET language, which one of the following
statements is true?
A. x As Integer
B. Dim x As Single
C. Dim x As Integer
D. Dim x As Int
Ans: C
Q.15 Which of the following operator declares the parameters and code that define a
function lambda expression?
A. AddressOf
B. Await
C. GetType
D. Function Expression
Ans: D
Q.18. Which of the following statement declares the operator symbol, operands, and
code that define an operator procedure on a class or structure?
A. Sub
B. Declare
C. Operator
D. Property
Ans: C
Q.20 Which of the following access modifier specifies that one or more declared local
variables are to continue to exist and retain their latest values after termination of the
procedure in which they are?
A. Shadows
B. Shared
C. Static
D. Public
Ans: C
Q.22 Which of the following statement declares an enumeration and defines the
values of its members?
A. Class
B. Dim
C. Enum
D. Const
Ans: C
Q.23 Methods declared with the following modifier are not accessible outside the
class.
A. Private
B. Protected
C. Friend
D. Global
Ans: A
Q.24 Select the keyword used to refer the namespace in our code in VB.Net
A. Using
B. Imports
C. Include
D. None of the above
Ans: B
Unit IV
class increment {
public static void main(String args[])
{
int g = 3;
System.out.print(++g * 8);
}
}
a) 25
b) 24
c) 32
d) 33
a. Dynamic
b. Architecture Neutral
c. Use of pointers
d. Object-oriented