stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Basic Computer Programming Concepts Flashcards | StudBud
Explore
/
Basic Computer Programming Concepts
Basic Computer Programming Concepts
15 terms
·
StudBud Administration
Quiz for Fresh Computer Programmer
Flashcards
15 cards
F
Practice quiz
P
Host live
L
Questions
15
Answers
1
Which datatype represents a TRUE/FALSE value in VB.NET?
YES/No
Binary
Logical
Boolean
2
What is the value of the index for the first element in a VB.NET array?
0
1
2
-1
3
What does IDE stand for?
Interior Design Environment
Integrated Development Environment
Integrated Design Environment
Interior Development Environment
4
The For…Next Loop is used when
choice is made based on a Boolean condition
block of statements is executed an unknown number of times
a block of statements is executed a known number of times
Both Answer 1 and Answer 2
5
How many bytes does a char use?
2
1
8
4
6
Which is a valid statement for declaring a variable?
Const myForm As Integer
Const Form As Integer
Dim Form As Integer
Dim myForm As Integer
7
Which of the following statement declares and defines one or more constants?
constant
Dim
const
class
8
Which of the following is NOT an object orientated language
VB.NET
C
Java
C++
9
With A = False and B = True, which statement evaluates as False?
A OR A
B OR B
B OR A
A OR B
10
Which of the following may be used instead of nested if/else statements?
while
for
select case
switch
11
Translates high level language instructions into machine code, line by line.
Interpreter
Assembler
Compiler
Processor
12
What value would the following expression return: 14 mod 3
4
2
4.0
4.5
13
What is required to reference an element in an array?
Answer 2 and Answer 3
Element valued
Array name
Index value of the element
14
The proper operator precedence, from first to last, is:
arithmetic, comparison, and logical
arithmetic, logical, and comparison
comparison, arithmetic, and logical
logical, comparison, and arithmetic
15
When a condition in an If…Then statements tests true:
the next Then statement is activated
the next Else statement is activated
the End If statement is activated
the next If statement is activated