jrkjlove
Test por , creado hace más de 1 año

Test sobre C# Chapter 2, creado por jrkjlove el 07/09/2014.

341
0
0
Sin etiquetas
jrkjlove
Creado por jrkjlove hace más de 9 años
Cerrar

C# Chapter 2

Pregunta 1 de 51

1

A(n) __________ is the thin dotted line that encloses an object in the Designer .

Selecciona una de las siguientes respuestas posibles:

  • selection marker

  • control binder

  • bounding box

  • object container

Explicación

Pregunta 2 de 51

1

The small squares that appear on the right edge, bottom edge, and lower-right cor-
ner of a form’s bounding box are called __________.

Selecciona una de las siguientes respuestas posibles:

  • sizing hooks

  • form edges

  • bounding tags

  • sizing handles

Explicación

Pregunta 3 de 51

1

__________ is the name of the blank form that Visual Studio initially creates in a new project.

Selecciona una de las siguientes respuestas posibles:

  • Form1

  • Main

  • New1

  • Blank

Explicación

Pregunta 4 de 51

1

The __________ property holds the text that is displayed on the face of the button.

Selecciona una de las siguientes respuestas posibles:

  • Name

  • Text

  • Tag

  • Face

Explicación

Pregunta 5 de 51

1

A file that contains program code is called a(n) __________.

Selecciona una de las siguientes respuestas posibles:

  • destination code file

  • executable file

  • machine language file

  • source code file

Explicación

Pregunta 6 de 51

1

A namespace is container that holds __________.

Selecciona una de las siguientes respuestas posibles:

  • methods

  • names

  • spaces

  • classes

Explicación

Pregunta 7 de 51

1

A(n) __________ is a method that executes when a specific event takes place while an application is running.

Selecciona una de las siguientes respuestas posibles:

  • action process

  • event handler

  • runtime procedure

  • event method

Explicación

Pregunta 8 de 51

1

The statement MessageBox.Show("Hello World") ; is an example of a(n) __________.

Selecciona una de las siguientes respuestas posibles:

  • method call

  • namespace

  • Click event

  • event handler

Explicación

Pregunta 9 de 51

1

In programming we use the term string to mean __________.

Selecciona una de las siguientes respuestas posibles:

  • many lines of code

  • parallel memory locations

  • string of characters

  • virtually anything

Explicación

Pregunta 10 de 51

1

A(n) __________ marks the end of a programming statement in C#.

Selecciona una de las siguientes respuestas posibles:

  • semicolon

  • period

  • hyphen

  • underscore

Explicación

Pregunta 11 de 51

1

A piece of data that is written into a program’s code is a(n) ___________.

Selecciona una de las siguientes respuestas posibles:

  • identifier

  • specifier

  • keyword

  • literal

Explicación

Pregunta 12 de 51

1

The time during which you build the GUI and write the application’s code is referred to as __________.

Selecciona una de las siguientes respuestas posibles:

  • run time

  • design time

  • code time

  • planning

Explicación

Pregunta 13 de 51

1

The time during which an application is executing is referred to as __________.

Selecciona una de las siguientes respuestas posibles:

  • go time

  • design time

  • execution

  • run time

Explicación

Pregunta 14 de 51

1

When you want to display text on a form, you use a __________ control.

Selecciona una de las siguientes respuestas posibles:

  • Button

  • PictureBox

  • Label

  • TextBox

Explicación

Pregunta 15 de 51

1

The __________ property allows you to set the font, font style, and size of the control’s text.

Selecciona una de las siguientes respuestas posibles:

  • Style

  • AutoSize

  • Text

  • Font

Explicación

Pregunta 16 de 51

1

A __________ property can be set to one of two possible values: True or False.

Selecciona una de las siguientes respuestas posibles:

  • Boolean

  • Logical

  • Binary

  • Dual

Explicación

Pregunta 17 de 51

1

Label controls have a(n) __________ property that controls the way they can be resized.

Selecciona una de las siguientes respuestas posibles:

  • Stretch

  • AutoSize

  • Dimension

  • Fixed

Explicación

Pregunta 18 de 51

1

The __________ property can be used to change the text’s alignment in the label.

Selecciona una de las siguientes respuestas posibles:

  • TextPosition

  • AutoAlign

  • TextCenter

  • TextAlign

Explicación

Pregunta 19 de 51

1

In code, you use a(n) __________ to store a value in a control’s property.

Selecciona una de las siguientes respuestas posibles:

  • Click event

  • method call

  • assignment statement

  • Boolean value

Explicación

Pregunta 20 de 51

1

The equal sign ( = ) is known as the __________.

Selecciona una de las siguientes respuestas posibles:

  • equality symbol

  • assignment operator

  • equality operator

  • property position

Explicación

Pregunta 21 de 51

1

The standard notation for referring to a control’s property in code is __________.

Selecciona una de las siguientes respuestas posibles:

  • ControlName . PropertyName

  • ControlName = PropertyName

  • PropertyName . ControlName

  • PropertyName = ControlName

Explicación

Pregunta 22 de 51

1

__________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.

Selecciona una de las siguientes respuestas posibles:

  • AutoCode

  • AutoComplete

  • IntelliSense

  • IntelliCode

Explicación

Pregunta 23 de 51

1

You can use a(n) __________ control to display a graphic image on a form.

Selecciona una de las siguientes respuestas posibles:

  • Graphics

  • PictureBox

  • Drawing

  • ImageBox

Explicación

Pregunta 24 de 51

1

Once you have created a PictureBox control, you use its __________ property to specify the image that it will display.

Selecciona una de las siguientes respuestas posibles:

  • Image

  • Source

  • DrawSource

  • ImageList

Explicación

Pregunta 25 de 51

1

The PictureBox control’s __________ property specifies how the control’s image is to be displayed.

Selecciona una de las siguientes respuestas posibles:

  • RenderMode

  • DrawMode

  • SizeMode

  • ImageMode

Explicación

Pregunta 26 de 51

1

__________ is the image’s width to height ratio.

Selecciona una de las siguientes respuestas posibles:

  • Aspect ratio

  • Size ratio

  • Projection ratio

  • Area ratio

Explicación

Pregunta 27 de 51

1

Most controls have a __________ property that determines whether the control is visible on the form at run time.

Selecciona una de las siguientes respuestas posibles:

  • Render

  • Viewable

  • Visible

  • Draw

Explicación

Pregunta 28 de 51

1

A(an) __________ appears on one line in a program.

Selecciona una de las siguientes respuestas posibles:

  • inline comment

  • line comment

  • forward comment

  • block comment

Explicación

Pregunta 29 de 51

1

A __________ can occupy multiple consecutive lines in a program.

Selecciona una de las siguientes respuestas posibles:

  • block comment

  • square comment

  • multiline comment

  • machine comment

Explicación

Pregunta 30 de 51

1

Programmers commonly use blank lines and indentations in their code to create a sense of __________.

Selecciona una de las siguientes respuestas posibles:

  • logic

  • visual organization

  • documentation

  • program flow

Explicación

Pregunta 31 de 51

1

To close an application’s form in code, you use the statement __________.

Selecciona una de las siguientes respuestas posibles:

  • Close();

  • Close.This();

  • Close()

  • this.Close();

Explicación

Pregunta 32 de 51

1

Changing an object’s Text property also changes the object’s name.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 33 de 51

1

When a form is created, its Text property is initially set to the same value as the form’s name.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 34 de 51

1

The form’s title is displayed in the bar along the top of a form.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 35 de 51

1

C# source code files always end with the .cs extension.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 36 de 51

1

You add your own code to the Progam.cs file as you develop an application.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 37 de 51

1

C# code is organized as methods, which are contained inside classes, which are con-
tained inside namespaces.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 38 de 51

1

When you double-click a control in the Designer , Visual Studio not only creates an empty event handler, but it also writes some code that you don’t see, elsewhere in the project that is necessary for the event handler to properly function.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 39 de 51

1

A Label control’s Text property is initially set to the same value as the Label control’s name.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 40 de 51

1

When a Label control’s AutoSize property is set to True, you cannot manually change the size of the control by clicking and dragging its bounding box.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 41 de 51

1

By default, a label’s text is aligned with the bottom and right edges of the label’s bounding box.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 42 de 51

1

Label controls are useful for displaying output while an application is running.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 43 de 51

1

The assignment operator assigns the value that appears on its left side to the item that appears on its right side.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 44 de 51

1

PictureBox controls also have a BorderStyle property that works just like a Label control’s BorderStyle property.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 45 de 51

1

PictureBox controls also have a BorderStyle property that works just like a Label control’s BorderStyle property.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 46 de 51

1

Buttons are the only controls that can respond to Click events.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 47 de 51

1

The Visible property is a Binary property, which means it can be set only to the values 1 and 0.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 48 de 51

1

When you write the values true or false in code, they must be written in all lowercase letters.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 49 de 51

1

In C# there are three types of comments: line comments, block comments, and documentation comments.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 50 de 51

1

To close an application’s form in code, you use the statement Close.This();

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación

Pregunta 51 de 51

1

The Visual Studio code editor examines each statement as you type it, and reports any syntax errors that are found.

Selecciona uno de los siguientes:

  • VERDADERO
  • FALSO

Explicación