C# Chapter 2

Descripción

Test sobre C# Chapter 2, creado por jrkjlove el 07/09/2014.
jrkjlove
Test por jrkjlove, actualizado hace más de 1 año
jrkjlove
Creado por jrkjlove hace más de 9 años
341
0

Resumen del Recurso

Pregunta 1

Pregunta
A(n) __________ is the thin dotted line that encloses an object in the Designer .
Respuesta
  • selection marker
  • control binder
  • bounding box
  • object container

Pregunta 2

Pregunta
The small squares that appear on the right edge, bottom edge, and lower-right cor- ner of a form’s bounding box are called __________.
Respuesta
  • sizing hooks
  • form edges
  • bounding tags
  • sizing handles

Pregunta 3

Pregunta
__________ is the name of the blank form that Visual Studio initially creates in a new project.
Respuesta
  • Form1
  • Main
  • New1
  • Blank

Pregunta 4

Pregunta
The __________ property holds the text that is displayed on the face of the button.
Respuesta
  • Name
  • Text
  • Tag
  • Face

Pregunta 5

Pregunta
A file that contains program code is called a(n) __________.
Respuesta
  • destination code file
  • executable file
  • machine language file
  • source code file

Pregunta 6

Pregunta
A namespace is container that holds __________.
Respuesta
  • methods
  • names
  • spaces
  • classes

Pregunta 7

Pregunta
A(n) __________ is a method that executes when a specific event takes place while an application is running.
Respuesta
  • action process
  • event handler
  • runtime procedure
  • event method

Pregunta 8

Pregunta
The statement MessageBox.Show("Hello World") ; is an example of a(n) __________.
Respuesta
  • method call
  • namespace
  • Click event
  • event handler

Pregunta 9

Pregunta
In programming we use the term string to mean __________.
Respuesta
  • many lines of code
  • parallel memory locations
  • string of characters
  • virtually anything

Pregunta 10

Pregunta
A(n) __________ marks the end of a programming statement in C#.
Respuesta
  • semicolon
  • period
  • hyphen
  • underscore

Pregunta 11

Pregunta
A piece of data that is written into a program’s code is a(n) ___________.
Respuesta
  • identifier
  • specifier
  • keyword
  • literal

Pregunta 12

Pregunta
The time during which you build the GUI and write the application’s code is referred to as __________.
Respuesta
  • run time
  • design time
  • code time
  • planning

Pregunta 13

Pregunta
The time during which an application is executing is referred to as __________.
Respuesta
  • go time
  • design time
  • execution
  • run time

Pregunta 14

Pregunta
When you want to display text on a form, you use a __________ control.
Respuesta
  • Button
  • PictureBox
  • Label
  • TextBox

Pregunta 15

Pregunta
The __________ property allows you to set the font, font style, and size of the control’s text.
Respuesta
  • Style
  • AutoSize
  • Text
  • Font

Pregunta 16

Pregunta
A __________ property can be set to one of two possible values: True or False.
Respuesta
  • Boolean
  • Logical
  • Binary
  • Dual

Pregunta 17

Pregunta
Label controls have a(n) __________ property that controls the way they can be resized.
Respuesta
  • Stretch
  • AutoSize
  • Dimension
  • Fixed

Pregunta 18

Pregunta
The __________ property can be used to change the text’s alignment in the label.
Respuesta
  • TextPosition
  • AutoAlign
  • TextCenter
  • TextAlign

Pregunta 19

Pregunta
In code, you use a(n) __________ to store a value in a control’s property.
Respuesta
  • Click event
  • method call
  • assignment statement
  • Boolean value

Pregunta 20

Pregunta
The equal sign ( = ) is known as the __________.
Respuesta
  • equality symbol
  • assignment operator
  • equality operator
  • property position

Pregunta 21

Pregunta
The standard notation for referring to a control’s property in code is __________.
Respuesta
  • ControlName . PropertyName
  • ControlName = PropertyName
  • PropertyName . ControlName
  • PropertyName = ControlName

Pregunta 22

Pregunta
__________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.
Respuesta
  • AutoCode
  • AutoComplete
  • IntelliSense
  • IntelliCode

Pregunta 23

Pregunta
You can use a(n) __________ control to display a graphic image on a form.
Respuesta
  • Graphics
  • PictureBox
  • Drawing
  • ImageBox

Pregunta 24

Pregunta
Once you have created a PictureBox control, you use its __________ property to specify the image that it will display.
Respuesta
  • Image
  • Source
  • DrawSource
  • ImageList

Pregunta 25

Pregunta
The PictureBox control’s __________ property specifies how the control’s image is to be displayed.
Respuesta
  • RenderMode
  • DrawMode
  • SizeMode
  • ImageMode

Pregunta 26

Pregunta
__________ is the image’s width to height ratio.
Respuesta
  • Aspect ratio
  • Size ratio
  • Projection ratio
  • Area ratio

Pregunta 27

Pregunta
Most controls have a __________ property that determines whether the control is visible on the form at run time.
Respuesta
  • Render
  • Viewable
  • Visible
  • Draw

Pregunta 28

Pregunta
A(an) __________ appears on one line in a program.
Respuesta
  • inline comment
  • line comment
  • forward comment
  • block comment

Pregunta 29

Pregunta
A __________ can occupy multiple consecutive lines in a program.
Respuesta
  • block comment
  • square comment
  • multiline comment
  • machine comment

Pregunta 30

Pregunta
Programmers commonly use blank lines and indentations in their code to create a sense of __________.
Respuesta
  • logic
  • visual organization
  • documentation
  • program flow

Pregunta 31

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

Pregunta 32

Pregunta
Changing an object’s Text property also changes the object’s name.
Respuesta
  • True
  • False

Pregunta 33

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

Pregunta 34

Pregunta
The form’s title is displayed in the bar along the top of a form.
Respuesta
  • True
  • False

Pregunta 35

Pregunta
C# source code files always end with the .cs extension.
Respuesta
  • True
  • False

Pregunta 36

Pregunta
You add your own code to the Progam.cs file as you develop an application.
Respuesta
  • True
  • False

Pregunta 37

Pregunta
C# code is organized as methods, which are contained inside classes, which are con- tained inside namespaces.
Respuesta
  • True
  • False

Pregunta 38

Pregunta
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.
Respuesta
  • True
  • False

Pregunta 39

Pregunta
A Label control’s Text property is initially set to the same value as the Label control’s name.
Respuesta
  • True
  • False

Pregunta 40

Pregunta
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.
Respuesta
  • True
  • False

Pregunta 41

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

Pregunta 42

Pregunta
Label controls are useful for displaying output while an application is running.
Respuesta
  • True
  • False

Pregunta 43

Pregunta
The assignment operator assigns the value that appears on its left side to the item that appears on its right side.
Respuesta
  • True
  • False

Pregunta 44

Pregunta
PictureBox controls also have a BorderStyle property that works just like a Label control’s BorderStyle property.
Respuesta
  • True
  • False

Pregunta 45

Pregunta
PictureBox controls also have a BorderStyle property that works just like a Label control’s BorderStyle property.
Respuesta
  • True
  • False

Pregunta 46

Pregunta
Buttons are the only controls that can respond to Click events.
Respuesta
  • True
  • False

Pregunta 47

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

Pregunta 48

Pregunta
When you write the values true or false in code, they must be written in all lowercase letters.
Respuesta
  • True
  • False

Pregunta 49

Pregunta
In C# there are three types of comments: line comments, block comments, and documentation comments.
Respuesta
  • True
  • False

Pregunta 50

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

Pregunta 51

Pregunta
The Visual Studio code editor examines each statement as you type it, and reports any syntax errors that are found.
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

Freud: Pasión Secreta
Cesar_Adolfo
Integrales Indefinidas
Rupert012
Que compuestos quimicos inorganicos se encuentran en:
Marcelo Rios Vega
Clothing Flashcards
Francisco Ochoa
Qué Carrera Estudiar
Diego Santos
ESTILOS DE ARQUITECTURA
andres silva a
E S P A Ñ A
Ulises Yo
PLASTICIDAD CEREBRAL
Kareen Gatica
LA CELULA
oscar otavo
INTERPRETACIÓN GEOMÉTRICA DE LA DERIVADA
Laura Erives Calzadillas
USO DE HERRAMIENTAS DE DISEÑO AUTOCAD
mart cruzz