Fill This Form To Receive Instant Help

Help in Homework
trustpilot ratings
google ratings


Homework answers / question archive /     Question1)The  function temporarily converts a string to a number, and then returns the number

    Question1)The  function temporarily converts a string to a number, and then returns the number

Computer Science

 

 

Question1)The  function temporarily converts a string to a number, and then returns the number.

     
 

a. 

Number

 

b. 

Num

 

c. 

Value

 

d. 

Val

     
  • Question 2

 

   
 

The ____ method of a control will cause the focus on the screen to move to that control.

     
 

a. 

HighLight

 

b. 

Select

 

c. 

GoTo

 

d. 

Focus

 

     
  • Question 3

 

   
 

The ____ property of a control is used to specify the position of the text within the control.

     
 

a. 

Justify

 

b. 

Alignment

 

c. 

AlignText

 

d. 

TextAlign

     
  • Question 4

 

   
 

The character used to create an access key by inserting it into a text property is ____.

     
 

a. 

^

 

b. 

~

 

c. 

&

 

d. 

<

     
  • Question 5

 

   
 

The first step in planning an OO application is to ____.

     
 

a. 

identify the event required to trigger an object to perform its assigned tasks

 

b. 

identify the tasks the application needs to perform

 

c. 

draw a sketch of the user interface

 

d. 

identify the objects to which tasks will be assigned

     
  • Question 6

 

   
 

The programming process begins with a meeting between the programmer and the client. Which of the following activities would be the last activity in the programming process?

     
 

a. 

Build the user interface.

 

b. 

Code the application.

 

c. 

Test and debug.

 

d. 

Assemble the documentation.

     
  • Question 7

 

   
 

The symbol used in code for assignment is the ____ symbol.

     
 

a. 

<

 

b. 

~

 

c. 

^

 

d. 

=

     
  • Question 8

 

   
 

The syntax of the Focus method is ____, where “object” is the name of the object to which you want the focus sent.

     
 

a. 

object.GetFocus()

 

b. 

object.FocusThis()

 

c. 

object.SetFocus()

 

d. 

object.Focus()

     
  • Question 9

 

   
 

To employ an access key, press and hold down the ____ key as you tap the access key.

     
 

a. 

Backslash

 

b. 

Alt

 

c. 

Scroll

 

d. 

Tilde (~)

     
  • Question 10

 

   
 

To test an application, you should use both valid and invalid test data.

     
 

 True

 

False

     
  • Question 11

 

   
 

What is an access key? What are three reasons access keys should be set in a Windows application?

     
 

 

An access key is an underlined letter in a control of an application. It allows the user to select an object using the Alt key in combination with a letter or number. Three reasons they are often used are
1. They allow a user to work with the application even when their mouse becomes inoperative.
2. They allow users who are fast typists to keep their hands on the keyboard.
3. They allow people who cannot work with a mouse, such as people with disabilities, to use the application.

     
  • Question 12

 

   
 

What is debugging? Explain the difference between a syntax error and a logic error.

     
 

 

Debugging refers to the process of locating and correcting errors in a program. A syntax error occurs when you break one of the language rules. Most syntax errors are a result of typing errors that occur when entering instructions. A logic error can occur for a variety of reasons, such as entering instructions in the wrong order.

     
  • Question 13

 

   
 

Which of the following is the correct sequence of events when designing a solution?

     
 

a. 

Plan the application, design the interface, and write the code.

 

b. 

Plan the application, write the code, and design the interface.

 

c. 

Design the interface, plan the application, and write the code.

 

d. 

Write the code, design the interface, and plan the application.

     
  • Question 14

 

   
 

Which of the following statements formats the contents of the txtSalesTax control with a percent sign and two digits to the right of the decimal?

     
 

a. 

double myNum = 0.23;
txtSalesTax.Text = myNum.ToString("f2");

 

b. 

double myNum = 0.23;
txtSalesTax.Text = myNum.ToString("p0");

 

c. 

double myNum = 0.23;
txtSalesTax.Text = myNum.ToString("p2");

 

d. 

double myNum = 0.23;
txtSalesTax.Text = myNum.ToString("c");

     
  • Question 15

 

   
 

Which of the following symbols is used to place documentation (i.e., single line comments) in a program and causes the computer to ignore the remaining content on the line?

     
 

a. 

'

 

b. 

/*

 

c. 

*/

 

d. 

//

     
  • Question 16

 

   
 

Write a statement that clears the contents of the Text property of the txtLastName contmunumvarrol.

     
 
 
     
  • Question 17

 

   
 

Write a statement that displays the net pay in the lblNetPay control so that it is formatted with a dollar sign and two decimal places assuming variable pay is assigned 3.12.

     
 
     
  • Question 18

 

   
 

You can change the background color of a text box by setting its ____ property.

     
 

a. 

BackColor

 

b. 

BackGround

 

c. 

ForeColor

 

d. 

Color

     

 

Option 1

Low Cost Option
Download this past answer in few clicks

2.83 USD

PURCHASE SOLUTION

Already member?


Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

rated 5 stars

Purchased 6 times

Completion Status 100%

Sitejabber (5.0)

BBC (5.0)

Trustpilot (4.8)

Google (5.0)

Related Questions