Computer Science Flashcards
Which should be done first when writing a large computer program?
analyze and breakdown the project specifications
What is the definition of an algorithm? (Choose two)
D.
steps to solve a problem
Which of the following expressions is true?
5<6 and 5>2
A good name for a text box that will be used to show an address is:
txtAddress
When class variables are private they can be accessed by:
only methods and functions within the class
The __________ tool is the one we would use to perform an immediate action.
button
Click once on an object to select it, but click twice to enter the code for that object. (T/F)
True
What is the result of the following equation? 11 % 3
2
Which data type would store a value of true or false?
Boolean
Why would you use a sub-program also known as a method or function?
to reuse the same code
Which of the following would LEAST likely be found in a software developer’s job description?
Install cables
Which of the following stores a value that cannot be changed?
constant
Which of the following expression has the possibility of never iterating (looping)?
while
for
Which of the following is a post test loop?
do - while
A sub-program (function or method) is called by its __________.
Name
A byte is:
8 bits