C# Chapter 2

Beschreibung

Quiz am C# Chapter 2, erstellt von jrkjlove am 07/09/2014.
jrkjlove
Quiz von jrkjlove, aktualisiert more than 1 year ago
jrkjlove
Erstellt von jrkjlove vor etwa 10 Jahre
349
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

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

Frage 3

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

Frage 4

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

Frage 5

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

Frage 6

Frage
A namespace is container that holds __________.
Antworten
  • methods
  • names
  • spaces
  • classes

Frage 7

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

Frage 8

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

Frage 9

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

Frage 10

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

Frage 11

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

Frage 12

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

Frage 13

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

Frage 14

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

Frage 15

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

Frage 16

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

Frage 17

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

Frage 18

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

Frage 19

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

Frage 20

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

Frage 21

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

Frage 22

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

Frage 23

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

Frage 24

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

Frage 25

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

Frage 26

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

Frage 27

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

Frage 28

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

Frage 29

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

Frage 30

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

Frage 31

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

Frage 32

Frage
Changing an object’s Text property also changes the object’s name.
Antworten
  • True
  • False

Frage 33

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

Frage 34

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

Frage 35

Frage
C# source code files always end with the .cs extension.
Antworten
  • True
  • False

Frage 36

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

Frage 37

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

Frage 38

Frage
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.
Antworten
  • True
  • False

Frage 39

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

Frage 40

Frage
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.
Antworten
  • True
  • False

Frage 41

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

Frage 42

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

Frage 43

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

Frage 44

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

Frage 45

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

Frage 46

Frage
Buttons are the only controls that can respond to Click events.
Antworten
  • True
  • False

Frage 47

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

Frage 48

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

Frage 49

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

Frage 50

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

Frage 51

Frage
The Visual Studio code editor examines each statement as you type it, and reports any syntax errors that are found.
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Tipps zum Erstellen von Mindmaps
max.grassl
Der Stephansdom
Karin Wanke
Einstufungstest Französisch B1.2
SprachschuleAktiv
A1 Das Modalverb können
Anna Kania
Kapitel 1: Was macht Psychologie einzigartig?
bence-bartos
GPSY ALPS
Malte Ni
SQ1 - Der Schlüssel zum Erfolg?!
B G
Vetie Radiologie Fragen VL 2013
Cedric-Bo Lüpkemann
Vetie - Fleisch 2016
Kim Langner
QUANTI 2021
Julia W.