C# Chapter 2

Descrição

Quiz sobre C# Chapter 2, criado por jrkjlove em 07-09-2014.
jrkjlove
Quiz por jrkjlove, atualizado more than 1 year ago
jrkjlove
Criado por jrkjlove aproximadamente 10 anos atrás
349
0

Resumo de Recurso

Questão 1

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

Questão 2

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

Questão 3

Questão
__________ is the name of the blank form that Visual Studio initially creates in a new project.
Responda
  • Form1
  • Main
  • New1
  • Blank

Questão 4

Questão
The __________ property holds the text that is displayed on the face of the button.
Responda
  • Name
  • Text
  • Tag
  • Face

Questão 5

Questão
A file that contains program code is called a(n) __________.
Responda
  • destination code file
  • executable file
  • machine language file
  • source code file

Questão 6

Questão
A namespace is container that holds __________.
Responda
  • methods
  • names
  • spaces
  • classes

Questão 7

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

Questão 8

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

Questão 9

Questão
In programming we use the term string to mean __________.
Responda
  • many lines of code
  • parallel memory locations
  • string of characters
  • virtually anything

Questão 10

Questão
A(n) __________ marks the end of a programming statement in C#.
Responda
  • semicolon
  • period
  • hyphen
  • underscore

Questão 11

Questão
A piece of data that is written into a program’s code is a(n) ___________.
Responda
  • identifier
  • specifier
  • keyword
  • literal

Questão 12

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

Questão 13

Questão
The time during which an application is executing is referred to as __________.
Responda
  • go time
  • design time
  • execution
  • run time

Questão 14

Questão
When you want to display text on a form, you use a __________ control.
Responda
  • Button
  • PictureBox
  • Label
  • TextBox

Questão 15

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

Questão 16

Questão
A __________ property can be set to one of two possible values: True or False.
Responda
  • Boolean
  • Logical
  • Binary
  • Dual

Questão 17

Questão
Label controls have a(n) __________ property that controls the way they can be resized.
Responda
  • Stretch
  • AutoSize
  • Dimension
  • Fixed

Questão 18

Questão
The __________ property can be used to change the text’s alignment in the label.
Responda
  • TextPosition
  • AutoAlign
  • TextCenter
  • TextAlign

Questão 19

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

Questão 20

Questão
The equal sign ( = ) is known as the __________.
Responda
  • equality symbol
  • assignment operator
  • equality operator
  • property position

Questão 21

Questão
The standard notation for referring to a control’s property in code is __________.
Responda
  • ControlName . PropertyName
  • ControlName = PropertyName
  • PropertyName . ControlName
  • PropertyName = ControlName

Questão 22

Questão
__________ is a feature of Visual Studio that provides automatic code completion as you write programming statements.
Responda
  • AutoCode
  • AutoComplete
  • IntelliSense
  • IntelliCode

Questão 23

Questão
You can use a(n) __________ control to display a graphic image on a form.
Responda
  • Graphics
  • PictureBox
  • Drawing
  • ImageBox

Questão 24

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

Questão 25

Questão
The PictureBox control’s __________ property specifies how the control’s image is to be displayed.
Responda
  • RenderMode
  • DrawMode
  • SizeMode
  • ImageMode

Questão 26

Questão
__________ is the image’s width to height ratio.
Responda
  • Aspect ratio
  • Size ratio
  • Projection ratio
  • Area ratio

Questão 27

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

Questão 28

Questão
A(an) __________ appears on one line in a program.
Responda
  • inline comment
  • line comment
  • forward comment
  • block comment

Questão 29

Questão
A __________ can occupy multiple consecutive lines in a program.
Responda
  • block comment
  • square comment
  • multiline comment
  • machine comment

Questão 30

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

Questão 31

Questão
To close an application’s form in code, you use the statement __________.
Responda
  • Close();
  • Close.This();
  • Close()
  • this.Close();

Questão 32

Questão
Changing an object’s Text property also changes the object’s name.
Responda
  • True
  • False

Questão 33

Questão
When a form is created, its Text property is initially set to the same value as the form’s name.
Responda
  • True
  • False

Questão 34

Questão
The form’s title is displayed in the bar along the top of a form.
Responda
  • True
  • False

Questão 35

Questão
C# source code files always end with the .cs extension.
Responda
  • True
  • False

Questão 36

Questão
You add your own code to the Progam.cs file as you develop an application.
Responda
  • True
  • False

Questão 37

Questão
C# code is organized as methods, which are contained inside classes, which are con- tained inside namespaces.
Responda
  • True
  • False

Questão 38

Questão
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.
Responda
  • True
  • False

Questão 39

Questão
A Label control’s Text property is initially set to the same value as the Label control’s name.
Responda
  • True
  • False

Questão 40

Questão
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.
Responda
  • True
  • False

Questão 41

Questão
By default, a label’s text is aligned with the bottom and right edges of the label’s bounding box.
Responda
  • True
  • False

Questão 42

Questão
Label controls are useful for displaying output while an application is running.
Responda
  • True
  • False

Questão 43

Questão
The assignment operator assigns the value that appears on its left side to the item that appears on its right side.
Responda
  • True
  • False

Questão 44

Questão
PictureBox controls also have a BorderStyle property that works just like a Label control’s BorderStyle property.
Responda
  • True
  • False

Questão 45

Questão
PictureBox controls also have a BorderStyle property that works just like a Label control’s BorderStyle property.
Responda
  • True
  • False

Questão 46

Questão
Buttons are the only controls that can respond to Click events.
Responda
  • True
  • False

Questão 47

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

Questão 48

Questão
When you write the values true or false in code, they must be written in all lowercase letters.
Responda
  • True
  • False

Questão 49

Questão
In C# there are three types of comments: line comments, block comments, and documentation comments.
Responda
  • True
  • False

Questão 50

Questão
To close an application’s form in code, you use the statement Close.This();
Responda
  • True
  • False

Questão 51

Questão
The Visual Studio code editor examines each statement as you type it, and reports any syntax errors that are found.
Responda
  • True
  • False

Semelhante

Orações Subordinadas Adverbiais
criismoreir
G11-As Rochas
Carolina Silva
Simulado Fuvest
Alessandra S.
As 22 consagradas leis do Marketing
Cristiano Bertul
Calendário de Estudos ENEM 2014
Alessandra S.
Vestibular - Crase
GoConqr suporte .
Leis de Newton.
GoConqr suporte .
Conjunções
GoConqr suporte .
História da Arte
GoConqr suporte .
Como ler um artigo científico?
raquel.schneider
Direito Constitucional focado (INSS 2016) - Direitos e Garantias Fundamentais e Administração Pública
Thiago Amério