Question: QUESTION 6 What does the following code do? Dim Int1 as Integer For Int1 = 1 to 4 Console.Writeline(Int1) Next A. writes four spaces. B.

QUESTION 6

What does the following code do?

Dim Int1 as Integer

For Int1 = 1 to 4

Console.Writeline(Int1)

Next

A.

writes four spaces.

B.

Write the numbers 1 through 4

C.

Write the numbers 0 to 3

D.

It creates a separate storage area in cache memory.

1 points Save Answer

QUESTION 7

In the following code

Writeline.console(Username & " Score")

the & does what?

A.

Appends two strings.

B.

Writes a random string.

C.

Recites the Delcaration of Independence.

D.

Reads a string from the console.

1 points Save Answer

QUESTION 8

The following are valid mathematical operations in Visual Basic except for one. Select that one.

A.

print

B.

addition

C.

Modulus

D.

multiplication

QUESTION 11

The ToLower string command does what?

A.

Forces all characters in the string to upper case.

B.

Forces all the characters in a string to nuymbers.

C.

Forces all the characters in a string to lower case.

D.

It creates a separate storage area in cache memory.

1 points Save Answer

QUESTION 12

In Visual Basic the command "Dim" does what?

A.

Adjusts the lights

B.

Insults the programmer.

C.

Reduces the brightness on the screen

D.

Defines a variable

1 points Save Answer

QUESTION 13

Case Else does what?

A.

covers all the cases not ennumerated in case statement.

B.

It creates a separate storage area in cache memory.

C.

Returns the Gettysburg Address.

D.

does not return anything.

1 points Save Answer

QUESTION 14

In the following code

Console.WriteLine(num1)

does what?

A.

Reads a double from the console and puts it in num1.

B.

Appends two strings.

C.

Writes the number in num1.

D.

Reads a string from the console.

1 points Save Answer

QUESTION 15

In the following code

Dim num1 as Double =Console.ReadLine()

does what?

A.

Reads a double from the console and puts it in num1.

B.

Appends two strings.

C.

Writes the number in num1.

D.

Reads a string from the console.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!