.NET MCQs MULTIPLE CHOICE QUESTION

Slides:



Advertisements
Similar presentations
CS0004: Introduction to Programming Select Case Statements and Selection Input.
Advertisements

1.
Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
VBA Modules, Functions, Variables, and Constants
 2008 Pearson Education, Inc. All rights reserved JavaScript: Introduction to Scripting.
1 Chapter 4 Language Fundamentals. 2 Identifiers Program parts such as packages, classes, and class members have names, which are formally known as identifiers.
CSC110 Fall Chapter 5: Decision Visual Basic.NET.
ASP.NET Programming with C# and SQL Server First Edition
VB .NET Programming Fundamentals
1 An Introduction to Visual Basic Objectives Explain the history of programming languages Define the terminology used in object-oriented programming.
Variables, Constants, Methods, and Calculations Chapter 3 - Review.
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Microsoft Visual Basic 2005: Reloaded Second Edition
Microsoft Visual Basic 2008: Reloaded Fourth Edition
Chapter 4: The Selection Structure
Variable, Expressions, Statements and Operators By: Engr. Faisal ur Rehman CE-105 Fall 2007.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
Web Design and Development for E-Business By Jensen J. Zhao Copyright 2003 Prentice Hall, Inc. Web Design and Development for E-Business Jensen J. Zhao.
08/10/ Iteration Loops For … To … Next. 208/10/2015 Learning Objectives Define a program loop. State when a loop will end. State when the For.
Chapter 4: The Selection Structure
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 4 Working with Variables, Constants, Data Types, and Expressions.
Working with the VB IDE. Running a Program u Clicking the”start” tool begins the program u The “break” tool pauses a program in mid-execution u The “end”
Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 3 Variables, Constants, Methods, and Calculations.
Java development environment and Review of Java. Eclipse TM Intergrated Development Environment (IDE) Running Eclipse: Warning: Never check the “Use this.
Applications Development
Overview of Form and Javascript fundamentals. Brief matching exercise 1. This is the software that allows a user to access and view HTML documents 2.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.1.
Microsoft Visual Basic 2008 CHAPTER ELEVEN Multiple Classes and Inheritance.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Visual Basic 2010 How to Program © by Pearson Education, Inc. All Rights Reserved.1.
 In the java programming language, a keyword is one of 50 reserved words which have a predefined meaning in the language; because of this,
INTRODUCTION CHAPTER #1 Visual Basic.NET. VB.Net General features It is an object oriented language  In the past VB had objects but focus was not placed.
Variables and Expressions Programming Right from the Start with Visual Basic.NET 1/e 7.
Controlling Program Flow with Decision Structures.
 Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory. 
An Introduction to Programming with C++ Sixth Edition Chapter 5 The Selection Structure.
Chapter 4.  Variables – named memory location that stores a value.  Variables allows the use of meaningful names which makes the code easier to read.
PHP using MySQL Database for Web Development (part II)
Visual Basic.NET Windows Programming
14 Shipping Time App Using Dates and Timers
Egyptian Language School Computer Department
Introduction to Programming Lecture 2
Creating and Using Objects, Exceptions, Strings
A variable is a name for a value stored in memory.
VBA - Excel VBA is Visual Basic for Applications
VBA - Excel VBA is Visual Basic for Applications
JAVA MULTIPLE CHOICE QUESTION.
3 Introduction to Classes and Objects.
Web Application Web Application are programs that can be executed either on a Web server or in a Web browser. An Online store accessed through a browser.
Java Primer 1: Types, Classes and Operators
Data Types, Arithmetic Operations
The Selection Structure
Chapter 4: The Selection Structure
2. Understanding VB Variables
Making Decisions in a Program
VISUAL BASIC.
WEB PROGRAMMING JavaScript.
Chapter 3: Introduction to Problem Solving and Control Statements
Visual Basic Programming Chapter Four Notes Working with Variables, Constants, Data Types, and Expressions GROUPBOX CONTROL The _____________________________________.
PHP.
CS285 Introduction - Visual Basic
Microsoft Visual Basic 2005: Reloaded Second Edition
HYPERTEXT PREPROCESSOR BY : UMA KAKKAR
Web Development Using ASP .NET
Java Programming Language
Chap 2. Identifiers, Keywords, and Types
Introduction to Computer Programming IT-104
Presentation transcript:

.NET MCQs MULTIPLE CHOICE QUESTION

Check your Knowledge Press to Start www.prolearninghub.com

Object oriented language 1) VB .NET is a Object oriented language Structured language Classical language None of these www.prolearninghub.com

2) VB.Net programming is very much based on JAVA language Web based languages Visual Basic programming languages None of these www.prolearninghub.com

3) Which of the following Loop structure does not supported by VB.Net? DO loop For next DO While For Each While www.prolearninghub.com

4) The _____ model does not offer a model for source code reuse. COM+ DCOM COM .NET www.prolearninghub.com

5) ____ allow custom items of information about a program element to be stored with an assembly's metadata. Properties Attributes Methods Classes www.prolearninghub.com

6) The corresponding .Net FCL type for Short is ___________. System.Int32 System.Int64 System.Int16 System.Object www.prolearninghub.com

7) The member "clear" of the Array class that sets a range of array elements to zero, false or null reference is a _____________ method. Shared Methods Class Object www.prolearninghub.com

8) The ___________ method converts an OLE automation date value to a DateTime Instance. Today timeofDay Now FromOADate www.prolearninghub.com

9) The function procedures are ___________ by default. Public Private Protected Inherited www.prolearninghub.com

10) Every optional argument in the procedure definition must specify a _________ value which must be a constant expression. Constant Default Integer Character www.prolearninghub.com

11) Type casting in VB.Net is implemented by means of ____________ statement. TypeDef() Btype() Ctype() www.prolearninghub.com

12) State whether the statement true or false 12) State whether the statement true or false. Function procedures are public by default. True False www.prolearninghub.com

13) A variable which is declared inside a method is called a________variable? Serial Local Private Static www.prolearninghub.com

14) Using a ________ variable does not enable us to create read-only properties that are often required by a class. Public Private Protected Friend www.prolearninghub.com

15) A _______ performs invisible tasks even if you write no code. destructor Private method constructor function www.prolearninghub.com

Class Library Reference 16) The______ does not describe inherited member functions, inherited operators, and overridden virtual member functions. Class Library Reference Library Object Classes www.prolearninghub.com

17) The ________ group classes according to their common services. Object Inheritence Name space Program www.prolearninghub.com

18) Whenever an application is created, a ______ is added. Form Class Property Object www.prolearninghub.com

19) Which are the standard prefixes for the text box and label controls respectively? Tex and lbl Tex and lab Txb and lbl Txb and lab www.prolearninghub.com

20) Which task is accomplished in the Code editor? Adding for to the project All control to the form Both A and B None of these www.prolearninghub.com

21) Which is not a feature of a GUI that makes learning a program easy for users? Online help WYSIWYG formatting Icons Dialogue box www.prolearninghub.com

22) object is composed of: Properties Method Events All of the above www.prolearninghub.com

23) Which statement about objects is true? One object is used to create one class. One class is used to create one object object can create many classes One class can create many objects www.prolearninghub.com

24) Which is a numeric data type? Floating point Integer boolean All of the above www.prolearninghub.com

25) Which sequence of char data types is listed from lowest to highest? a, A, z, Z A, a, Z, z A, Z, a, z z, a, Z, A www.prolearninghub.com

26) The Date data type does not hold which type of information. Days Months Hours Quarters www.prolearninghub.com

27) The Boolean data type: Is unassigned has two states is displayed by the program as yes or no. Both A and B www.prolearninghub.com

28) Which is a valid statement for declaring a variable? Const Form As Integer Const myForm As Integer Dim myForm As Integer All of above www.prolearninghub.com

can begin with an underscore. 29) B.Net identifiers: Are case sensitive can begin with an underscore. can begin with a number. None of them www.prolearninghub.com

30) The name of a constant: must both begin with a letter and be all upper case. does not have to begin with a letter but must be all upper case. does not have to begin with a letter and be either upper or lower case. None of them www.prolearninghub.com

31) The proper operator precedence, from first to last, is: logical, comparison, and arithmetic. arithmetic, comparison, and logical. arithmetic, logical, and comparison. comparison, arithmetic, and logical. www.prolearninghub.com

32) With A = False and B = True, which statement evaluates as True? A AND A A and A B and A B and B www.prolearninghub.com

33) Which is a valid statement for declaring a variable? Const Form As Integer Const myForm As Integer Dim Form As Integer Dim myForm As Integer www.prolearninghub.com

34) Which is the appropriate prefix for a Dataset object? Das dat ds www.prolearninghub.com

35) Which object does the data-aware control bind to? A) Data set B) Data adaptor C) Connection Both A and B www.prolearninghub.com

36) What is the proper code to put data into the dataset called CustomerDataset using the CustomerDataAdapter object? CustomerDataset.Fill(CustomerDataAdapter) CustomerDataAdapter.Fill(CustomerDataset) CustomerDataset.Load(CustomerDataAdapter) CustomerDataAdapter.Load(CustomerDataset) www.prolearninghub.com

37) Which object contains the Position property of the current record in a dataset? BindingData BindingContext DataBound DataContext www.prolearninghub.com

38) The first record in a dataset has a position property of: Zero One any value defined by the programmer. All of them www.prolearninghub.com

39) Which below is specified by the DataMember Property? Connection Object DataAdapter object Data field Database table www.prolearninghub.com

40) Which below is specified by the DataSource Property? Connection object DataAdapter object Database field Database Object www.prolearninghub.com

41) What is the extension for a Visual Basic web form code file? .asp .aspx .aspx.vb .asp.vb.net www.prolearninghub.com

42) user action will not generate a server-side event? Mouse move Text change Button Click All of them www.prolearninghub.com

43) Because of the latency of a round-trip on the internet: the interface and code of a web form are stored in separate files. it is best to use server-side control only some user actions, such as button clicks, will generate events none of above www.prolearninghub.com

44) Which property is used to name a web control? Control name Designation ID Name www.prolearninghub.com

45) Which language is used to create an ASP.NET code file? Visual Basic C# C++ All of the above www.prolearninghub.com

46) It is best to use a web instead of a windows application when the application: has a thin front end (client). needs to be available to the public must be platform-independent. All of above www.prolearninghub.com

47) Which set of symbols are used to signify the presence of ASP 47) Which set of symbols are used to signify the presence of ASP.NET code? <@ <# <% <$ www.prolearninghub.com

48) The _____ class provides static methods to start, stop, or filter Windows messages in an application. Form Window Application Control www.prolearninghub.com

49) The ______ enable us to pass data between a program and a class. Function Properties Procedures Variables www.prolearninghub.com

50) The ____ method converts the value of this instance to a double representing the OLE automation date From OA Date TO OA Date Today Now www.prolearninghub.com

The Results