MIS 34070 exam 1

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

26. The ____________ property of a form determines the text that is displayed in a form's title bar. a. Title b. Caption c. Name d. Text

ANS: D

28. When selected in the Properties window toolbar, the ____________ button causes the items in the Properties window to be displayed in alphabetical order. a. Arrange b. Ascending c. Descending d. Alphabetical

ANS: D

3. A computer's memory is divided into tiny storage locations known as ____________. a. sectors b. arrays c. cells d. bytes

ANS: D

30. _____________ is an extensive encoding scheme that is compatible with ASCII and can also represent the characters of many of the world's languages. a. Baudot code b. EBCDIC c. ANSEL d. Unicode

ANS: D

18. There are two general categories of software: system software and utility software.

ANS: F

19. Software development tools control the internal operations of the computer's hardware, mange all the devices connected to the computer, allow data to be saved to and retrieved from the storage devices, and allow other programs to run on the computer.

ANS: F

19. You cannot click and drag controls from the Toolbox onto a form.

ANS: F

2. A control's Visible property cannot be modified in code.

ANS: F

20. Once a control has been added to a form, it cannot be deleted.

ANS: F

41. Ending a programming statement with a semicolon is not required in C#.

ANS: F

38. All programming languages have math operators that perform arithmetic.

ANS: T

38. The .NET Framework provides a method named MessageBox.Show that you can use in Visual C# to display a pop-up message box.

ANS: T

25. ____________ is any data the computer produces and sends to another device, such as a video display or speaker. a. Output b. Software c. Firmware d. Media

ANS: A

11. The file named ____________ contains code associated with a form named Form1. a. Form1.cs b. MainForm.cs c. Control.cs d. Window.cs

ANS: A

13. ____________ refers to all the physical devices, or components, of which a computer is made. a. Hardware b. Workstation c. Machine d. System

ANS: A

15. The ____________ is the part of a computer's hardware that executes each instruction in a program. a. CPU b. software c. main memory d. programming language

ANS: A

16. Code containers, such as namespaces, classes, and methods, use ____________ to enclose code. a. braces ({}) b. asterisks (**) c. parentheses (()) d. brackets ([])

ANS: A

2. Which one of the following Button control names is a legal C# identifier? a. _DisplayOption5Button b. Exit!Button c. *Clear*Button* d. delete Record Button

ANS: A

22. The compact disc (CD) and digital versatile disc (DVD) are known as ____________ devices. a. optical b. binary c. legacy d. encoded

ANS: A

29. A(n) ____________ performs a specialized task that enhances the computer's operation or safeguards data. a. utility program b. secondary storage device c. USB drive d. operating system

ANS: A

3. The ____________ naming convention gets its name because the uppercase characters that appear in a name are sometimes reminiscent of a camel's humps. a. camelCase b. Pascal c. Hungarian notation d. CaMeL style

ANS: A

32. Before a computer can store a real number in memory, it must be encoded in ____________. a. floating-point notation b. hexadecimal c. EBCDIC d. decimal mode

ANS: A

32. To delete a control, you can select it on a form and then press the ____________ key on the keyboard. a. Delete b. Z c. Tab d. X

ANS: A

33. A Button control has a ____________ property that holds a string to be displayed on the face of the button. a. Text b. Name c. Description d. Face

ANS: A

37. A file that contains program code is called a ____________. a. source code file b. program file c. C# file d. cs file

ANS: A

39. The entire set of instructions a CPU can execute is known as the CPU's ____________. a. instruction set b. command list c. programming language d. interpreted set

ANS: A

40. When a CPU executes each instruction in a program, it uses a process known as the ____________. a. fetch-decode-execute cycle b. ready-set-go phase c. code assembly process d. compilation sequence

ANS: A

42. Instead of using binary numbers for instructions, assembly language uses short words known as ____________. a. mnemonics b. keywords c. operators d. terms

ANS: A

42. When a string is written into a program's code, it is called a(n) ____________. a. string literal b. typed string c. encoded string d. string constant

ANS: A

46. The Label control can be found in the ____________ group of the Toolbox. a. Common Controls b. Containers c. Data d. Components

ANS: A

48. Each programming language has its own ____________, which is a set of rules that must be strictly followed when writing a program. a. syntax b. convention c. conversion rules d. structure

ANS: A

52. A ____________ property can be set to one of two possible values: True or False. a. Boolean b. Binary c. Singular d. Toggle

ANS: A

52. Statements a programmer writes in a high-level language are called ____________, or simply code. a. source code b. high-level text c. program font d. simple script

ANS: A

54. Programmers commonly use the term ____________ to describe any hypothetical person that might be using a computer and its programs. a. user b. customer c. patient d. client

ANS: A

56. The standard notation for referring to a control's property in code is: a. ControlName.PropertyName b. ControlName->PropertyName c. ControlName::PropertyName d. ControlName<PropertyName/>

ANS: A

59. When you use a(n) ____________ language, you create programs by putting together a collection of objects. a. object-oriented b. object-based c. collective d. high-level

ANS: A

59. ____________ is a feature of Visual Studio that provides automatic code completion as you write programming statements. a. IntelliSense b. AutoComplete c. Snippet d. CodeHelper

ANS: A

6. The term bit stands for ____________. a. binary digit b. basic integer c. Boolean interchange type d. big-endian format

ANS: A

65. A ____________object appears on a form as a clickable rectangle containing a caption written across its face. a. Button b. Banner c. Checkbox d. Frame

ANS: A

67. A ____________ is code that describes a particular type of program object. a. class b. specification c. blueprint d. diagram

ANS: A

68. A(n) ____________ appears on one line in a program and begins with two forward slashes (//). a. line comment b. short comment c. block comment d. documentation comment

ANS: A

74. A ____________ is a diagram that graphically depicts the steps of an algorithm. a. flowchart b. billboard c. schematic d. formulaic hierarchy chart

ANS: A

79. In a flowchart, rectangles are used as ____________ to represent the steps in which the program performs some process on data, such as a mathematical calculation. a. processing symbols b. output symbols c. input symbols d. terminal symbols

ANS: A

81. To ____________ a program means to find and correct logic errors in the program. a. debug b. proofread c. analyze d. logistics

ANS: A

83. ____________ can be used to create applications written not only in Visual C#, but also in other languages such as Visual Basic and C++. a. Visual Studio b. A compiler c. Notepad d. All of the above

ANS: A

84. ____________ is a free programming environment that is available for download from the Microsoft Web site. a. Visual Studio 2015 Community Edition b. Visual Studio 2015 Professional c. The MSDN library d. Internet Explorer

ANS: A

85. In Visual Studio, each Visual C# application you create is a called a ____________. a. solution b. file c. source d. project

ANS: A

88. When you create a Visual C# application, use the ____________ window to examine and change a control's properties. a. Properties b. Solution Explorer c. Designer d. Attributes

ANS: A

89. When the ____________ feature is turned on, the window is displayed only as a tab along one of the edges of the Visual Studio environment. a. Auto Hide b. Pushpin c. Economy View d. Tab

ANS: A

94. A window not attached to one of the edges of the Visual Studio window is ____________. a. floating b. hovering c. overlapped d. docked

ANS: A

95. When you create a new project using Visual Studio, it will be stored in a _____________ at the location you specify on your computer's disk. a. Solution folder b. Project folder c. Solution file d. System file

ANS: A

96. Inside the solution folder, the ____________ contains various files related to the project. a. project folder b. solution file c. source folder d. system folder

ANS: A

97. Inside the solution folder, you can double-click the ____________ to open the project in Visual Studio. a. solution file b. system folder c. project folder d. source file

ANS: A

98. ____________ is where a computer stores a program while the program is running, as well as the data used by the program. a. Main memory b. Software c. The CPU d. Secondary storage

ANS: A

99. Main memory is commonly known as ____________, or RAM. a. random-access memory b. read-append memory c. random-asynchronous memory d. readily-available memory

ANS: A

1. Applications that programmers use to create, modify, and test software are referred to as ____________. a. utility programs b. software development tools c. device drivers d. application software

ANS: B

10. A(n) ____________ is a set of instructions that a computer follows to perform a task. a. algorithm b. program c. formula d. method

ANS: B

100. When a computer is turned off, the contents of its ____________ are erased. a. secondary storage b. RAM c. software d. hardware

ANS: B

14. A(n) ____________ is a sequence of one or more programming statements (code) that performs some operation. a. algorithm b. method c. class d. namespace

ANS: B

16. The ____________ is considered by many to be the world's first programmable electronic computer. a. UNIVAC b. ENIAC c. Apple II d. Harvard MARK I

ANS: B

57. Which of the following statements would display the number 25 in a Label control named ouputLabel? a. outputLabel.Text = 25; b. outputLabel.Text = "25"; c. outputLabel(25); d. outputLabel = "25";

ANS: B

61. Once you have created a PictureBox control, you use its ____________ property to specify the image it will display. a. Picture b. Image c. Source d. Display

ANS: B

62. ____________ is the default value of the PictureBox control's SizeMode property. a. AutoSize b. Normal c. Zoom d. StretchImage

ANS: B

64. A ____________ object appears as a rectangular region that accepts keyboard input from the user. a. True-type b. Textbox c. Rectangle d. Notepad

ANS: B

64. When a PictureBox control's SizeMode property is set to ____________, the image is uniformly resized to fit the PictureBox without losing its original aspect ratio. a. Normal b. Zoom c. CenterImage d. StretchImage

ANS: B

5. The PictureBox control's ____________ property determines whether the image stored in the control will cause the control to be shrunk or expanded. a. DisplayMode b. Visible c. SizeMode d. Render

ANS: C

50. A(n) ____________ is a program that translates a high-level language program into a separate machine language program. a. parser b. interpreter c. compiler d. assembler

ANS: C

53. A Label control's ____________ property can be used to change the alignment of text within the Label. a. TextPosition b. DisplayFont c. TextAlign d. HorizontalAlign

ANS: C

55. In C#, the equal sign (=) is known as the ____________. a. equality operator b. parity operator c. assignment operator d. transfer operator

ANS: C

56. A(n) ____________, also known as a console interface, requires the user to type textual input a. command prompt b. console c. command line interface d. terminal

ANS: C

6. Programmers commonly use ____________ in their code to create a sense of visual organization. a. different font colors b. documentation comments c. blank lines and indentation d. bold images, such as photos

ANS: C

60. The data stored in an object are commonly called fields, or ____________. a. attributes b. characteristics c. properties d. values

ANS: C

62. In object-oriented programming, a window displayed on the screen is called a ____________. a. window object b. screen object c. form object d. frame object

ANS: C

63. ____________ is a term that refers to an image's width to height ratio. a. Area b. Bounding box c. Aspect ratio d. UV map

ANS: C

66. Objects that are visible in a program's graphical user interface are commonly referred to as ____________. a. opaque b. interactive c. controls d. components

ANS: C

67. ____________ are short notes placed in a program's source code, explaining how the program works. a. Sketches b. Tags c. Comments d. Labels

ANS: C

70. ____________ are used by professional programmers to embed extensive documentation in a program' source code. a. Line comments b. Block comments c. Documentation comments d. Embedded comments

ANS: C

71. Once you clearly understand what a program is supposed to do, you can ____________. a. test the program and correct logic errors b. correct syntax errors c. design the program's user interface d. design the program's logic

ANS: C

72. A(n) ____________ describes a set of well-defined, logical steps that must be taken to perform a task. a. flowchart b. schematic c. algorithm d. outline

ANS: C

75. The oval shapes appearing at the top and bottom of a flowchart are called ____________. a. input symbols b. processing symbols c. terminal symbols d. output symbols

ANS: C

77. The ____________ symbol marks the program's ending point in a flowchart. a. output b. processing c. End terminal d. Input

ANS: C

78. In a flowchart, ____________ are used as input symbols and output symbols to represent the steps in which the program reads input or displays output. a. Ovals b. Rectangles c. Parallelograms d. Triangles

ANS: C

8. In the ____________ numbering system, all numeric values are written as sequences of the digits 0 and 1. a. hexadecimal b. decimal c. octal d. binary

ANS: D

87. The Visual Studio ____________ window allows you to navigate among the files in a Visual C# project. a. Properties b. Designer c. Source d. Solution Explorer

ANS: D

91. In Visual Studio, the ____________ is a window that allows you to select the controls that you want to use in an application's user interface. a. standard toolbar b. picker c. control library d. toolbox

ANS: D

1. When you use the Properties window to change a control's Visible property at design time, the control will become invisible in the Designer.

ANS: F

11. The standard Windows close button is the only way to close a running application in Visual Studio.

ANS: F

11. The use of USB drives has declined dramatically in recent years in favor of superior devices such as floppy disk drives.

ANS: F

14. Floppy disk drives are good mediums for creating backup copies of data.

ANS: F

16. The Toolbar is a window that allows you to select the controls that you want to use in an application's user interface.

ANS: F

17. When the properties in the Properties window are displayed alphabetically, the (name) property appears at the bottom of the list.

ANS: F

21. An operating system consists of assemblers, compilers, and utility programs.

ANS: F

21. To remove a control from a form, you select it and then press the F4 key on the keyboard.

ANS: F

23. Most computers today have fewer than 1 million bytes.

ANS: F

25. The largest value that can be stored in a byte is 1.

ANS: F

26. Any piece of data stored in a computer's memory must be stored as a decimal number.

ANS: F

26. C# identifiers can contain spaces after the first character.

ANS: F

27. ASCII is quickly becoming the standard character set used in the computer industry.

ANS: F

28. A binary number can represent only integer values less than 255.

ANS: F

29. The only way to run a program in Visual Studio is by clicking the Start Debugging button on the toolbar.

ANS: F

30. The fewer samples per second a song is divided into, the more it sounds like the original music when it is played back.

ANS: F

31. The Program.cs file contains auto-generated code that serves as an outline to which you should add your own code as you develop the application.

ANS: F

31. The computer's CPU can anticipate what a programmer wants to do.

ANS: F

32. It is important that you do not modify the contents of the Form1.cs file because doing so will prevent the application from executing.

ANS: F

34. C# code is organized using namespaces, which are contained inside classes, which are contained inside methods.

ANS: F

35. It is easy for people to write programs in machine language.

ANS: F

36. Low-level languages allow programmers to concentrate on the tasks they want to perform with their program rather than the details of how the CPU will execute those programs.

ANS: F

4. Today's microprocessors are less powerful than the larger electromechanical CPUs in early computers.

ANS: F

40. Single quotation marks can be used in program code to mark the beginning and ending of a string.

ANS: F

41. Because compilers combine translation and execution, they typically do not create separate machine language programs.

ANS: F

42. If a program's source code contains a syntax error, it can still be translated to machine language by a compiler.

ANS: F

42. If you wish to create a Click event handler for a control in Visual Studio, it is not necessary to double-click the control in the Designer first.

ANS: F

44. Programmers sometimes say that literals are values that are soft coded into a program because the value of a literal can be changed while the program is running.

ANS: F

45. In a C# application, all buttons on a form must share the same Click event handler in form's source code file.

ANS: F

45. In a text-based environment, such as a command line interface, the user determines the order in which things happen.

ANS: F

46. At run time, you should not use the Designer, Toolbox, Properties window, or code editor to modify the program.

ANS: F

46. Very few programming languages used today are object oriented.

ANS: F

47. In programming, an object is a physical device.

ANS: F

49. When you write a program using a low-level language, you use objects to accomplish specific tasks.

ANS: F

5. Comments are short notes intended for the compiler to read and interpret.

ANS: F

5. You can think of secondary storage as the place where a computer carries out calculations.

ANS: F

50. A control's name should never be changed to something other than the default name that Visual Studio gives it.

ANS: F

50. In a program with a graphical user interface, all of the objects will be visible when the program starts.

ANS: F

51. A Label control's BorderStyle property is set to FixedSingle by default.

ANS: F

53. A class specifies the data an object can hold, but not the actions the object can perform.

ANS: F

54. The C# language provides classes and other code necessary for creating GUIs and performing many other advanced operations.

ANS: F

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

ANS: F

55. Because the Label control's Text property can accept only strings, you cannot display a number in a label.

ANS: F

58. The process of creating a high-quality program only involves writing code.

ANS: F

59. Flowcharting is a tool that programmers use to design programs, and is considered superior to pseudocode.

ANS: F

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

ANS: F

6. RAM memory retains its contents when a computer is turned off.

ANS: F

60. PictureBox controls have a BorderStyle property, but it does not work like a Label control's BorderStyle property.

ANS: F

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

ANS: F

7. Most of a computer's RAM is stored in the same device that performs calculations.

ANS: F

8. Programs are usually stored in main memory and loaded into secondary storage as needed.

ANS: F

9. Writing comments should be avoided, especially for large and complex programs.

ANS: F

1. Computers can perform a wide variety of tasks because they can be programmed in ways that are specific to the needs of applications.

ANS: T

10. External disk drives can be used to create backup copies of important data or to move data to another computer.

ANS: T

10. The indentation of statements inside methods, classes, and namespaces is a convention that virtually all programmers follow.

ANS: T

12. If you double-click an error message in the Error List window, the code editor will highlight and display the line of code that caused the error.

ANS: T

12. When Auto Hide is turned on, a window is displayed only as a tab along one of the edges of the Visual Studio environment.

ANS: T

13. Data is not recorded magnetically on an optical disc but is encoded as a series of pits on the disc surface.

ANS: T

13. Each form and control in an application's GUI is assigned a default name.

ANS: T

14. The appearance and other characteristics of a GUI object are determined by the object's properties.

ANS: T

15. Common input devices are the keyboard, mouse, scanner, microphone, and digital camera.

ANS: T

15. The Properties window contains a scrollable list of properties, which has two columns: the left column shows each property's name, and the right column shows each property's value.

ANS: T

17. Disk drives and recordable optical disk drives can be considered input devices or output devices.

ANS: T

18. To add a control to a form, you find it in the Toolbox and then double-click it.

ANS: T

2. The CPU is the most important component in a computer because without it, the computer could not execute programs.

ANS: T

20. Examples of utility programs are virus scanners, file-compression programs, and data-backup programs.

ANS: T

22. Some examples of application software are spreadsheet programs, e-mail programs, Web browsers, and game programs.

ANS: T

22. When you create Button controls, they are automatically given default names such as button1, button2, and so forth.

ANS: T

23. When Button control is created, its Text property is initially set to the same value as the Button control's name.

ANS: T

24. In most computer systems, bits are implemented in hardware as tiny electrical components that hold either a positive or a negative charge.

ANS: T

24. Text displayed on a button should hint at what the button will do when it is clicked.

ANS: T

25. A control's name should reflect the purpose of the control.

ANS: T

27. The first character of a C# identifier must be one of the letters a through z or A through Z or an underscore character (_).

ANS: T

28. A Hello World program is a simple program that merely displays the words "Hello World" on the screen.

ANS: T

29. The term pixel stands for picture element.

ANS: T

3. A computer is not a single device, but a system of devices working together.

ANS: T

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

ANS: T

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

ANS: T

32. A program is a list of instructions that tell the CPU to perform operations.

ANS: T

33. A machine language instruction exists for each basic operation a CPU can do.

ANS: T

33. C# code is primarily organized in three ways: namespaces, classes, and methods.

ANS: T

34. The computer CPU can only execute machine language programs.

ANS: T

35. Each opening brace ({) of a code container must have a matching closing brace (}) later in the program.

ANS: T

36. You can detach the code editor window and use the mouse to drag it to another part of the screen.

ANS: T

37. Each keyword in a high-level language has a specific meaning and cannot be used for any other purpose.

ANS: T

37. When an event handler is generated for a control by Visual Studio, it doesn't do anything until you add your own code.

ANS: T

39. Programmers refer to the act of executing a method as calling the method.

ANS: T

39. The syntax rules dictate how keywords, operators, and various punctuation characters must be used in a program.

ANS: T

4. When a method executes, the statements in the method always execute in the order that they appear, from the beginning of the method to the end of the method.

ANS: T

40. A programming statement can consist of keywords, operators, punctuation, and other allowable programming elements, arranged in the proper sequence to perform an operation.

ANS: T

43. For many years, the only way that the user could interact with a computer was through a command line interface.

ANS: T

43. In C#, string literals must be enclosed in double quotation marks.

ANS: T

44. A Graphical User Interface (GUI) allows the user to point at graphical elements using a mouse, and click the mouse to activate the elements.

ANS: T

47. The terms run time, runtime, and run-time all typically mean the same thing.

ANS: T

48. In software, an object has two general capabilities: it can store data and perform operations.

ANS: T

48. Once you have placed a Label control on a form, set its Text property to the string you want to display.

ANS: T

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

ANS: T

51. An object must be created in memory before it can be used in a program.

ANS: T

52. To change the BorderStyle property of a Label control in the Designer, select it in the Properties window and then click the down-arrow button that appears next to the value.

ANS: T

52. You must use a class to define an object before it can be created in memory at runtime.

ANS: T

53. By default, a Label control's text is aligned with the top and left edges of the label's bounding box.

ANS: T

55. In Visual Studio, a window cannot float if its Auto Hide feature is turned on.

ANS: T

56. In code, if you want to clear the text that is displayed in a Label control, you can assign an empty string ("") to the control's Text property.

ANS: T

56. The .NET framework provides classes to create Forms, TextBoxes, Labels, Buttons, and many other types of objects.

ANS: T

57. The C# language allows you to write your own classes that have specific fields, properties, and methods for any application.

ANS: T

57. When typing a statement in code, press the Tab key on the keyboard to accept suggestions made by the IntelliSense feature of Visual Studio.

ANS: T

58. In the Designer, the PictureBox tool is located in the Common Controls group in the Toolbox window.

ANS: T

59. When the PictureBox control's SizeMode property is set to AutoSize, the PictureBox control is automatically resized to fit the size of the image being displayed.

ANS: T

60. Virtually all nontrivial code contains syntax errors when it is first written.

ANS: T

61. A logic error is a mistake that causes a program to generate incorrect results.

ANS: T

7. A line comment does not have to occupy an entire line, so a line comment can appear after an executable statement.

ANS: T

8. Block comments make it easier to write long explanations because you do not have to mark every line with a comment symbol.

ANS: T

9. A common type of secondary storage device is the solid state drive.

ANS: T

16. Changing a form's Text property will change the form's name.

ANS: F

4. When learning computer programming, it is traditional to start by learning to write a ____________ program. a. Simple b. Hello World c. Pseudocode d. K

R Style &ANS: B

46. Words having a predefined meaning in a high-level language are known as ____________ or reserved words. a. mnemonics b. pseudonyms c. keywords d. semantics

ANS: C

17. An easy way to switch between the Designer and the code editor is to click the ____________ for the desired window. This only works if both the code file and designer file have already been opened. a. icon b. tab c. button d. bounding box

ANS: B

17. Today, CPUs are small chips known as ____________. a. parallel processors b. microprocessors c. mini-CPUs d. super computers

ANS: B

18. ____________ is a type of memory that can hold data for long periods of time, even when there is no power to the computer. a. RAM b. Secondary storage, or static RAM c. Application software d. Main memory

ANS: B

19. A(n) ____________ event occurs on a control when the user clicks the mouse on a control while the program is running. a. Action b. Click c. Live d. Mouse

ANS: B

21. ____________ are small devices that plug into a computer's USB port and appear to the system as disk drives. a. Virtual disk drives b. Universal Serial Bus (USB) drives c. Floppy disk drives d. External disk drives

ANS: B

22. Which one of the following statements correctly display the text "Hello" in a message box? a. Messagebox("Hello") b. MessageBox.Show("Hello"); c. msgbox(Hello); d. msgbox.show(Hello)

ANS: B

23. ____________ is a term used for data a computer collects from users and other devices. a. telemetry b. input c. information d. storage

ANS: B

24. ____________ allow you to resize a selected object in the Visual Studio Designer by clicking and dragging the mouse when the mouse cursor becomes a two-headed arrow. a. Bounding boxes b. Sizing handles c. ToolTips d. Properties

ANS: B

26. Data produced by a computer is sent to a(n) ____________, which formats and presents it. a. input device b. output device c. storage device d. program

ANS: B

29. Selecting the ____________ button in the Properties window causes the items in the window to be displayed in logical groups. a. Grouped b. Categorized c. Ordered d. Type

ANS: B

31. Computers are able to store negative numbers in memory by using a technique known as ____________. a. ASCII b. two's complement c. bit block transfer d. Unicode

ANS: B

31. In the design window, you can click and drag a control to a new location when the mouse cursor is positioned inside the control and the mouse cursor becomes a ____________. a. two-headed arrow b. four-headed arrow c. hand icon d. scissor icon

ANS: B

33. The term ____________ can be used to describe anything that uses binary numbers. a. electronic b. digital c. organic d. computer

ANS: B

35. A(n) ____________ is any device that works with binary data. a. electronic module b. digital device c. binary machine d. computational tool

ANS: B

35. Control names are also known as ____________, the same term used for variables in programs. a. tags b. identifiers c. values d. labels

ANS: B

36. Digital images are composed of tiny dots of color known as ____________. a. halftone cells b. pixels c. light-emitting diodes d. raster elements

ANS: B

36. To run an application in Visual Studio, press the ____________ button on the keyboard or click the Start Debugging button on the toolbar. a. Enter b. F5 c. Tab d. Shift

ANS: B

37. A digital song is broken into small pieces known as ____________. a. tones b. samples c. pulses d. waves

ANS: B

39. In C# code, ____________ are required to indicate the beginning and the end of a string. a. single quotation marks, such as (') b. double quotation marks, such as (") c. parentheses d. semicolons

ANS: B

4. One ____________ of memory is large enough to store only a letter of the alphabet or a small number. a. bit b. byte c. sector d. word ?

ANS: B

43. A special program known as a(n) ____________ is used to translate an assembly language program into a machine language program. a. interpreter b. assembler c. translator d. code conversion tool

ANS: B

43. When you have a project open in Visual Studio, the time during which you build the GUI and write the application's code is referred to as ____________. a. prototyping b. design time c. visual planning d. application progression

ANS: B

44. Because assembly language is so close in nature to machine language, it is referred to as a ____________. a. high-level language b. low-level language c. machine-like language d. linked language

ANS: B

45. When you want to display text on a form but not allow the user to change the text, you use a ____________. a. String control b. Label control c. Text control d. Font control

ANS: B

48. The ____________ can be accessed from the Properties window by clicking the ellipses (...) appearing next to the Font property's value. a. Text designer b. Font dialog box c. Text editor d. Font selector

ANS: B

51. A(n) _____________ is a program that simultaneously translates and executes each instruction in a high-level language program. a. compiler b. interpreter c. assembler d. lexical analyzer

ANS: B

51. Label controls have a(n) ____________ property that affects the way they can be resized. a. Resize b. AutoSize c. SizeMode d. Redraw

ANS: B

53. A(n) ____________ is a mistake such as a misspelled keyword, a missing punctuation character, or the incorrect use of an operator. a. parsed anomaly b. syntax error c. code bug d. illegal operation

ANS: B

54. In code, you use a(n) ____________ to store a value in a control's property. a. string literal b. assignment statement c. dialog box d. constant

ANS: B

57. A(n) ____________, or GUI, allows the user to interact with the operating system and application programs through graphical elements on the screen. a. general-purpose interface b. graphical user interface c. generic unified interface d. graphics utility interface

ANS: B

66. Assuming an application has a PictureBox control named profilePictureBox, which one of the following assignment statements will hide the PictureBox from the user at run time? a. profilePictureBox.Visible = False; b. profilePictureBox.Visible = false; c. profilePictureBox.Invisible = True; d. profilePictureBox.Invisible = true;

ANS: B

68. The ____________ is a collection of classes and other code that can be used, along with a programming language such as C#, to create programs for the Windows operating system. a. MSDN Library b. .NET Framework c. Sync Framework d. Windows SDK

ANS: B

69. A(n) ____________ can occupy multiple consecutive lines in a program. It starts with /* (a forward slash followed by an asterisk), and ends with */ (an asterisk followed by a forward slash). a. line comment b. block comment c. short comment d. documentation comment

ANS: B

69. The entire process of creating a program is known as the ____________. a. art of software development b. program development cycle c. computer science sequence d. engineering cycle

ANS: B

7. In a binary systems, a zero bit represents a switch in the ____ position, and a one bit represents a switch in the ____ position. a. on, off b. off, on c. neutral, binary d. positive, negative

ANS: B

7. To close an application's form in code, you use the statement ____________. a. me.Quit(); b. this.Close(); c. form.Exit(); d. app.Stop();

ANS: B

73. An algorithm written out in plain English statements is called ____________. a. prototyping b. pseudocode c. outlining d. quick-code

ANS: B

8. When you enter a statement into the code editor, Visual Studio analyzes it, and if a syntax error is found, it is ____________. a. automatically corrected b. underlined with a jagged line c. crossed out d. highlighted

ANS: B

80. A ____________ is a mistake that does not prevent the program from starting, but causes it to produce incorrect results. a. syntax error b. logic error c. parse error d. interpret error

ANS: B

82. A(n) ____________ provides all the necessary tools for creating, testing, and debugging software. a. super computer b. integrated development environment (IDE) c. operating system d. software development kit (SDK)

ANS: B

92. A(n) ____________ is a small rectangular box that pops up when you hover the mouse pointer over a button on the toolbar or in the toolbox for a few seconds. a. Icon b. ToolTip c. Message d. Alert

ANS: B

10. The ____________ file contains an application's start-up code, which executes when the application runs. a. Main.cs b. Code.cs c. Program.cs d. Source.cs

ANS: C

11. Programs are commonly referred to as ____________. a. applications b. simulations c. software d. firmware

ANS: C

12. A ____________ is a declared block in a program between braces {...} that holds classes. a. method b. program c. namespace d. list

ANS: C

14. When a computer is performing the tasks that a program tells it to do, we say the computer is running, or ____________ the program. a. compiling b. processing c. executing d. reading

ANS: C

18. A(n) ____________ is a method that executes when a specific event (such as clicking the mouse) takes place while an application is running. a. action sequencer b. feature coordinator c. event handler d. incident manager

ANS: C

2. Programs that make a computer useful for everyday tasks are known as ____________. a. operating systems b. utility programs c. application software d. system software

ANS: C

23. When a(n) ____________ appears around an object in the Visual Studio Designer, it indicates that the object is selected and is ready for editing. a. sizing handle b. editing icon c. bounding box d. frame

ANS: C

27. The ____________ property can be used to change a form's width and height, measured in pixels. a. Area b. Resolution c. Size d. Rectangle

ANS: C

27. The programs that control and manage the basic operations of a computer are generally referred to as ____________. a. application software b. RAM c. system software d. output devices

ANS: C

28. A(n) ____________ is the most fundamental set of programs on a computer. a. application suite b. device driver c. operating system d. Web browser

ANS: C

30. The Visual Studio ____________ window shows a scrollable list of controls that you can add to a form. a. Collection b. Bank c. Toolbox d. Shelf

ANS: C

34. ____________ is the term used for any data stored in binary. a. Bitwise data b. Electronic information c. Digital data d. Biometric data

ANS: C

40. Just as a period marks the end of a sentence, a ____________ marks the end of a programming statement in C#. a. space b. underscore c. semicolon d. period

ANS: C

41. ____________ was created in the early days of computing as an alternative to machine language. a. FORTRAN b. COBOL c. assembly language d. Pascal

ANS: C

44. The time during which an application is executing is referred to as ____________. a. up time b. execution c. run time d. instancing

ANS: C

45. A(n) ____________ allows you to create powerful and complex programs without knowing how the CPU works and without writing large numbers of low-level instructions. a. assembler b. interpreter c. high-level language d. virtual language

ANS: C

47. The ____________ property allows you to set the font, font style, and size of a control's text. a. Appearance b. Text c. Font d. Graphics

ANS: C

49. The individual instructions that you use to write a program in a high-level programming language are called ____________. a. directives b. commands c. statements d. orders

ANS: C

5. Each byte is divided into eight smaller storage locations known as ____________. a. nibbles b. pixels c. bits d. words

ANS: C

86. The Visual Studio ____________ window shows the application's form and allows you to visually design its appearance by placing controls that will appear on the form when the application executes. a. Solution Explorer b. Properties c. Designer d. Project

ANS: C

9. The ____________ shows a description of the error, the name of the source code file containing the error, the error's line number and column number, and the name of the project. a. Debug dialog box b. Crash pop up c. Error List window d. Just In Time debugger

ANS: C

9. ____________ is a set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters. a. UTF-8 b. Unicode c. ASCII d. IEEE

ANS: C

90. In Visual Studio, the ____________ contains buttons that execute frequently used commands. a. toolbox b. hot bar c. standard toolbar d. command bar

ANS: C

93. When a window is ____________, it means it is attached to one of the edges of the Visual Studio window. a. parked b. seated c. docked d. floating

ANS: C

1. Which one of the following Button control names is not a legal C# identifier? a. _calculateTotalButton b. printSalesReportButton c. clear_customer_names_button d. 1stPlayerStartButton

ANS: D

12. A programmer, or software developer, is a person with the training and skills necessary to ____________ computer programs. a. design b. create c. test d. All of the above

ANS: D

13. A(n) ____________ is a logical container in a program that holds methods (as well as other program elements). a. event b. namespace c. queue d. class

ANS: D

15. The ____________ directives appearing at the top of a C# source code file indicate which namespaces the program will use. Usually, these namespaces belong to the .NET Framework. a. include b. namespace c. public d. using

ANS: D

19. A(n) ____________ stores data by magnetically encoding it onto a circular disk. a. CPU b. output device c. program d. disk drive

ANS: D

20. A ____________ drive stores data on a simulated disk drive, but has no moving parts. a. USB drive b. hard drive c. solid state d. both Answers (a) and (c)

ANS: D

20. A ____________ is a small pop-up window, also known as a dialog box, that displays a message. a. standard window b. pop up c. banner d. message box

ANS: D

21. If you want your code to execute a method, write a statement known as a(n) ____________. a. event handler b. executor statement c. initialization routine d. method call

ANS: D

24. The computer component that collects data and sends it to the computer is called a(n) ____________. a. storage device b. output device c. sending unit d. input device

ANS: D

25. When you select an object in the Visual Studio Designer, the object's size, color, text, and other characteristics are displayed in the ____________ window. a. Designer b. Editing c. Object d. Properties

ANS: D

34. A control's ____________ property identifies the control in the application's code and in the Visual Studio environment. a. Text b. Source c. Tag d. Name

ANS: D

38. A computer's CPU can only execute instructions written in ____________. a. main memory b. mnemonics c. assembly language d. machine language

ANS: D

38. In programming we use the term ____________ to mean a sequence of characters that could be enclosed in quotation marks "...". a. statement b. thread c. word d. string

ANS: D

41. When a piece of data such as 23 or "Hello" is written into a program's code, it is called a ____________. a. constant b. sentinel c. value d. literal

ANS: D

47. Programming languages have ____________ that perform various operations on data. a. keywords b. mnemonics c. states d. operators

ANS: D

49. Each Label control has a ____________ property that allows you to display a rectangle around the control's text. a. Border b. FrameStyle c. Frame d. BorderStyle

ANS: D

50. Which one of the following is not a valid setting for a Label control's BorderStyle property? a. FixedSingle b. None c. Fixed3D d. FixedDouble

ANS: D

55. A computer's ____________ is the part of the computer with which the user interacts. a. operating system b. monitor c. Input device d. user interface

ANS: D

58. Because GUI programs must respond to the actions of the user, they are said to be ____________. a. response-based b. drag-and-drop c. open-ended d. event-driven

ANS: D

58. Which of the following statements would clear the text displayed in a Label control named cityLabel? a. cityLabel.Text = "empty"; b. cityLabel.Text = "none"; c. cityLabel.Text = "clear"; d. cityLabel.Text = "";

ANS: D

60. You can use a(n) ____________ control to display a graphic image on a form. a. Image b. Graphics c. Texture2D d. PictureBox

ANS: D

61. The operations that an object can perform are called ____________. a. actions b. events c. behaviors d. methods

ANS: D

63. A ____________ object displays text on a form. a. Text b. Font c. Character d. Label

ANS: D

65. Most controls have a(n) ____________ property that determines whether the control can be seen by the user at run time. a. Enabled b. Invisible c. Show d. Visible

ANS: D

70. Before beginning a new programming project, it is essential that you ____________. a. design the program's logic b. correct syntax errors c. write the program's code d. understand the program's purpose

ANS: D

76. In a flowchart, the ____________ symbol marks the program's starting point. a. input b. output c. processing d. Start terminal

ANS: D


Set pelajaran terkait

Chapter 19 - Share-Based Compensation and Earnings Per Share

View Set

Ch. 33 Specific (Adaptive) Immunity

View Set

digital marketing - email marketing

View Set

Voices and Visions: Chapter 5 War and Peace

View Set