Busy. Please wait.
Log in with Clever

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever

Username is available taken
show password

Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
Didn't know it?
click below
Knew it?
click below
Don't Know
Remaining cards (0)
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

CSC 150

Chapter 4

Control structure It controls the flow of execution in a program or function
Kinds of control structure to control execution Sequence, selection and repeptition
function of selection control structure It chooses which alternate to choose
Different operators AND operator (&&), or operator (||) and NOT operator (!)
Operator precedence An operator precedence determines its value of evaluation
Decision steps in Algorithm Algorithm steps that selects from a choice of actions are called Decision steps
Steps in program development 1. Problem identification 2. Analysis 3. Design 4. Implementation 5. Testing 6. Maintenance
Explain about Problem identification Need to find what the real problem is and the solution to the problem. Required things are selected and eliminate the unimportant aspects.
Analysis Identifying the problems i.e. a> input ( the data you have to work with) b> output ( the desired output) c> any additional requirement or constraints on the solution d> Formulas
Design This is the step in which problem is solved by making lists of steps called an Algorithm.
Implementation It is a step of writing program in computer language from Algorithm.
Testing It refers to the step in which program is tested many times to check if the program is well enough to provide you with correct answer.
Maintenance Maintenance and updating the program involves modifying a program to remove previously undetected errors.
Controlling expression The Controlling expression is an expression with a value of type int or type char, is evaluated and compared to each of the case labels in the label sets until a match is found.
Label set A label set is made of one or more labels of the form case followed by a constant value and a colon.
Types of statement while, for and do-while
Loop Repetition of steps in a program is called Loop.
Counting Loop Its repetition is managed by a loop control variable whose value repeats a count.
Special assignment operator in C + - * / %
Compound assignment operator in C += -= /= %=
What are the steps involved in for loop? 1. initialization 2. repetition 3. update
Incremental operator for 1 ++
Decremented operator for 1 --
Logic error In programming, a logic error is a bug in a program that causes it to operate incorrectly, but not to terminate abnormally (or crash). The program runs and produces the output, but is incorrect.
Syntax error A error that occurs when a program cannot understand the command that has been entered. A program doesn't execute until and unless al syntax errors are corrected.
Created by: milankc1991
Popular Engineering sets




Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
restart all cards