CSC 215 Test Solution

Download as pdf or txt
Download as pdf or txt
You are on page 1of 13

CSC 215 Test

Answer all questions

finestdan1979@gmail.com Switch account

* Indicates required question

Email *

Your email

Which of the following directive defines conditional compiler constants?

#Const

#ExternalSource

#If...Then...#Else

#Region

Which of the following is a basic data type in VB.NET?

Boolean

Byte

Char

All of the above.


Is VB.Net compatible with VB6?

Yes

No

Which of the following keyword of VB.NET is used to throw an exception when a


problem shows up?

Try

Catch

Finally

Throw

It is a programming language that uses 0's and 1's.

High-level programming language

Machine language

Object-oriented programming language

Assembly language
Which of the following access modifier specifies that a procedure argument can be
omitted when the procedure is called?

NotOverridable

Optional

Out

Overloads

The process of writing, testing, and maintaining computer programs.

High-level language programming

Computer programming

Object-oriented programming

Machine programming

Which of the following access modifiers tells Visual Basic to convert all strings to
Unicode values, regardless of the name of the external procedure?

Shared

Shadows

Unicode

Static
Which of the following statement terminates the loop or select case statement and
transfers execution to the statement immediately following the loop or select
case?

Exit

Continue

Goto

None of the above.

Department *

Your answer

_____ can be used to define a template/blueprint that describes the


behaviors/states that objects of its type support.

Object

Class

Method

Instance Variable
The operator symbol, operands, and code that define an operator procedure on a
class or structure are declared in which of the following statements?

Declare

Property

Sub

Operator

An undeclared data type takes which Data types by default in Visual Basic?

Object

Int

Char

String

Which of the following is a true about Object in VB.NET?

Object variable size is 4 bytes on 32-bit platform.

Object variable size is 8 bytes on 64-bit platform.

Any type can be stored in a variable of type Object.

All of the above.


Visual Basic was developed by:

Symantec

Sybase

Ashton Tate

Microsoft

Which of the following operator declares the parameters and code that define a
function lambda expression?

Await

AddressOf

GetType

Function Expression

What is the VB.Net statement to accept input from a user through the keyboard

Console.ReadLine()

Console.WriteLine()

Console.KeyLine()

Console.InputLine()
Which of the following access modifier specifies that a function or Get accessor is
an iterator?

In

Key

Iterator

Module

VB.Net statement that assign values or expression to a variable or constant is


called

Declaration Statement

Executable Statement

Assignment Statement

Variable Statement

Rewrite the following VB.Net code in correct form - Console.WriteLine("Hello


World")

Console.WriteLine('Hello World')

Console.WriteLine('Hello World', {0})

Console.WriteLine("Hello World")

Console.WriteLine("Hello World", {0})


Name: *

Your answer

Which of the following access modifier specifies that one or more declared
programming elements have no access restrictions?

Private

Protected

Public

ReadOnly

Matric No: *

Your answer

The control which we can click and release to perform some action.

Label

Button

CheckBox

TextBox
Which of the following converts the expression to Long data type in VB.NET?

CDbl(expression)

CDec(expression)

CInt(expression)

CLng(expression)

The program that supports the creation of application for wireless, Internet-enabled
hand-held devices.

High-Level Language

Visual Basic .NET

Low-Level Language

Machine Language

VB.Net stands for

Visual Basic New Enhanced Technology

Visual Basic Network Enabled Technology

Visual Basic Network Enhanced Technology

Visual Basic New Electronic Technology


Which of the following statement declares the name, parameters, and code that
define a Sub procedure?

Declare

Property

Operator

Sub

Which of the following applications cannot be developed by VB.Net?

Web applications

Windows applications

Web services

Web dot Net Framework

The following Integrated Development Environment (IDE) development tools are


provided by Microsoft for VB.Net programming except

Visual Web Developer

Visual Basic Express (VBE)

Visual Basic 6 Compiler

Visual Studio (VS)


True/False value range is an example of one of the following data types

Double

Boolean

Floating point

Integer

It is a collection of services and classes designed to simplify application


development.

.NET Framework

Visual Basic .NET

Class Library

Solution Explorer

Dim intData(10)
The above VB.Net statement declares

an array of 12 elements

an array of 10 elements

an array of 11 elements

an array of 9 elements

Page 1 of 1

Submit Clear form

Never submit passwords through Google Forms.

This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy
Forms

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy