CNIT 175 FINAL EXAM QUESTIONS AND
ANSWERS WITH VERIFIED SOLUTIONS 100%
CORRECT | UPDATED 2025
IDE - ANSWER integrated development environment
GUI - ANSWER graphical user interface
two parts of visual basic program - ANSWER 1) GUI
2) code
three basic controls - ANSWER 1) label (output, describe controls)
2) textbox (input/output)
3) button (processing)
class - ANSWER - control in the toolbox
- have properties & behavior
object - ANSWER - control placed on form
- has properties
- can use methods of the class
name property - ANSWER - used in code to refer to an object
,- MUST be set at design time
text property - ANSWER - text that appears on object
connect two strings - ANSWER + or &
display in two lines - ANSWER vbLf
clear textbox or label - ANSWER ObjectName.PropertyName = ""
Focus() Method - ANSWER - method of textbox control
- places cursor in the textbox
Clear() Method - ANSWER - method of textbox control
- clears text in the textbox
Close() Method - ANSWER - closes the form
- Me.Close()
whole number - ANSWER integers
real numbers - ANSWER decimals
, variables - ANSWER - place holders in computer's RAM
- data value stored in variable that can be changed or used
RAM - ANSWER random access memory
byte - ANSWER unit of measurement in memory
keyword (reserved word) - ANSWER special words in programming language
(Dim, Private, End)
naming standards - ANSWER - start with capital letter then continue with lower
case
- do not start with lowercase, number
- do not use keywords
data types for whole numbers - ANSWER - byte (1 byte, range 0 to 255)
- short (2 bytes, range -32,768 to 32,767)
- integer (4 bytes, range -2 billion to 2 billion)
data types for real numbers - ANSWER - single (4 bytes)
- double (8 bytes)
- decimal (16 bytes, used for monetary values)
ANSWERS WITH VERIFIED SOLUTIONS 100%
CORRECT | UPDATED 2025
IDE - ANSWER integrated development environment
GUI - ANSWER graphical user interface
two parts of visual basic program - ANSWER 1) GUI
2) code
three basic controls - ANSWER 1) label (output, describe controls)
2) textbox (input/output)
3) button (processing)
class - ANSWER - control in the toolbox
- have properties & behavior
object - ANSWER - control placed on form
- has properties
- can use methods of the class
name property - ANSWER - used in code to refer to an object
,- MUST be set at design time
text property - ANSWER - text that appears on object
connect two strings - ANSWER + or &
display in two lines - ANSWER vbLf
clear textbox or label - ANSWER ObjectName.PropertyName = ""
Focus() Method - ANSWER - method of textbox control
- places cursor in the textbox
Clear() Method - ANSWER - method of textbox control
- clears text in the textbox
Close() Method - ANSWER - closes the form
- Me.Close()
whole number - ANSWER integers
real numbers - ANSWER decimals
, variables - ANSWER - place holders in computer's RAM
- data value stored in variable that can be changed or used
RAM - ANSWER random access memory
byte - ANSWER unit of measurement in memory
keyword (reserved word) - ANSWER special words in programming language
(Dim, Private, End)
naming standards - ANSWER - start with capital letter then continue with lower
case
- do not start with lowercase, number
- do not use keywords
data types for whole numbers - ANSWER - byte (1 byte, range 0 to 255)
- short (2 bytes, range -32,768 to 32,767)
- integer (4 bytes, range -2 billion to 2 billion)
data types for real numbers - ANSWER - single (4 bytes)
- double (8 bytes)
- decimal (16 bytes, used for monetary values)