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