bilal Hameed Flashcards
What does “IDE” stand for?
Integrated development environment
Reasons why you would use an IDE
easy to use. Tools at your disposal. Easy to navigate. Automatic code generation.
What are the three main components of any program?
Explain briefly?
Input, Process, Output
-Processing involves the manipulation of data into information
What are some examples of sources of input for a program?
Mouse, keyboard, Mic
What are some examples of sources of output for a program?
Speakers, Monitor, Printer
Define what an algorithm is
a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.
What are the six steps in the Program Development Cycle, and explain each one:
Analyze, Design, Choose the Interface, Code, Test and Debug, Documentation
Name three programming tools that help convert algorithms into code, and explain each one:
Flowcharts, Pseudocode, and Hierarchy Charts
What is the “Divide-and-conquer” method?
A divide-and-conquer algorithm works by recursively breaking down a problem into two or more sub-problems of the same or related type, until these become simple enough to be solved directly.
Name and explain the three statement structures that are available in programming
Sequence, Decision, Looping
Explain what a GUI is
Graphical User interface. Allows users to interact with an interface using visual icons. i.e Button
Define an “event-driven” language
language where the outcome is determined by an event like user input or sensor output.
Name four different controls that are available to us when designing a form
Textbox, Listbox, Label, Button
Name a control that can be used for both input and output
Textbox
Describe how the AutoSize property works for a label: what does it do?
It adjusts the size of the label to the size of the text within it.
Name the two primary purposes for a list box control.
display text. have it appear in a list.
What is the difference between a proportional-width font and a fixed-width font?
proportional has no spaces between characters while fixed width does.
Describe the tab order on a form, and why it is important.
it allows the user to easily switch between the tabs to access multiple forms and from code.
What is an event?
An event is a signal that informs an application that something important has occurred
Name and describe the steps in creating a Visual Basic program:
Create the interface
o Set properties
o Write the code
Name two ways to get access to the event procedures for an object:
Double-click on a control
o Use the Class Name and Method Name boxes
Can an event procedure be invoked by more than one event?
yes
Describe how a txt file can be used for both input and output.
one can use a text box to input a number an use another textbox to output that same number
Describe the purpose of the following built-in functions: Math.Sqrt, Int, Math.Round
treats the values they are applied to as mathematical value. Int, for example, turns the value into an integer.
Define a numeric variable
Variables with a number or value. sum = 10