|
LOGO
Design a logo for an existing company or make up your own.
REMS
CLS
SCREEN 12
CIRCLE
LINE/BOX
ARCH
PAINT
END
MADLIB
Ask questions such as verb, adjective, etc. to be filled into a story.
REMS
CLS
INPUT – 10
PRINT – spaces, punctuation, capitalization
END
DESCRIPTIVE VARIABLE
VARIABLE TYPE
BALL
Make a ball roll down the given path.
REMS
CLS
SCREEN 12
FOR…NEXT
BALL
PATH
END
DESCRIPTIVE VARIABLE
VARIABLE TYPE
CISQLN
Draw a circle, a square, or a line based on what the user chooses.
REMS
CLS
SCREEN 12
One IF and one END IF
INPUT
CIRCLE
LINE
END
DESCRIPTIVE VARIABLE
VARIABLE TYPE
HOMECOMING
Draw a pictorial representation of each theme incorporating movement in at least one scene. Let the user choose which to view.
REMS
CLS
SCREEN 12
DESCISION STATEMENT
CIRCLE
LINE
PAINT
END
DESCRIPTIVE VARIABLE
VARIABLE TYPE
DRAW
Using the DRAW statement create 3 pictures, let the user choose which to see first, and continue until they choose to quit.
REMS
CLS
SCREEN 12
DECISION STATEMENT
DRAW
LOOPING
END
MUSIC
Find some sheet music on the Internet and program it into the computer.
REMS
CLS
PLAY
END
DICE
Roll two dice making random numbers 1-6 appear. Draw the dice, ask if they want to roll again or pause, continue rolling the dice until the user presses a particular key.
REMS
CLS
SCREEN 12
RANDOMIZE TIMER
RND
CIRCLE
LINE
DECISION MAKING
DESCRIPTIVE VARIABLES
VARIABLE TYPE
END
PAYCHECK
Print a pay stub with the person’s name, social security number, regular pay rate, overtime pay rate, number of regular hours, number of overtime hours, gross total, federal tax, state tax, FICA tax, and net pay. Use $7.00 for the regular pay rate. Overtime is time and a half (over 40 hours). Ask the user for their name, social security number, and hours they have worked. Use 6% for federal tax, 4% for FICA tax, and 2% for state tax. Use print using statements, tabs, and locate statements when printing pay stub.
REMS
CLS
SCREEN 12
CONSTANTS
MATH SECTION
INPUT
PRINT
PRINT USING
TAB
LOCATE
DESCRIPTIVE VARIABLES
VARIABLE TYPE
END
GRADES
Enter scores for assignments (as many as they need) out of 100 points, calculate average and print the letter grade and percent on the screen.
REMS
CLS
CONSTANTS
MATH
COUNTER
INPUT
PRINT
LOOPING
DECISION MAKING
DESCRIPTIVE VARIABLES
VARIABLE TYPE
END
PW3X
Enter the password a maximum of 3 times, tell them if they get it correct, and blow up if they get it wrong 3 times.
REMS
CLS
SCREEN 12
CONSTANTS
COUNTER
DECISION MAKING
PSET
PRINT
LOOPING
END
ATM
Create a welcome screen including a logo for your bank. Ask the user for their PIN. The program should “eat” their card if they get it incorrect 3 times and should allow them to withdraw, deposit, check their balance, and exit if they get their password correct. All customers should start with $1000. The withdraw has limitations of not being able to take more than you have and withdrawing in multiples of $10.
REMS
CLS
SCREEN 12
CONSTANTS
COUNTER
LOOPING
DECISION MAKING
MATH
DESCRIPTIVE VARIABLES
VARIABLE TYPE
END
ADDRESS
Create a program that asks for 5 people’s names and addresses. The program should allow me to enter in all the information for one person before asking for the second person. Arrays should be used to store the information. The addresses need to be printed like a mailing label. Part 2: Sort the addresses by last name.
REMS
CLS
SCREEN 12
CONSTANTS
DIM
LOOPING
PRINTING
SORTING
DESCRIPTIVE VARIABLES
VARIABLE TYPES
END
ARROW
Draw an arrow on the screen and ask the user if they want it to fly left, fly right, or fly diagonal. Create subroutines for each of the flying arrows. Allow the user to repeat.
REMS
CLS
INPUT
PRINT
DECLARE SUB
SUB
END SUB
CALL
LOOPING
DECISION MAKING
DESCRIPTIVE VARIABLES
VARIABLE TYPE
END
GAMES
Create three separate programs:
Program 1: The first program created should be named gameout.bas. This program should ask 3 questions about computer games. The information should be written to a file called game.txt. Please loop so the user can answer the questions as many times as they wish.
Program 2: The second program created should be named gameapp.bas. This program should ask the same 3 questions about computer games and add them to the existing game.txt. Please loop so the user can answer the questions as many times as they wish.
Program 3: The third program created should be named gamein.bas. This should bring all information in from game.txt and print it in an organized fashion on the screen including labeling.
REMS
CLS
SCREEN 12
OUTPUT
INPUT
APPEND
INPUT
WRITE
LOOPING
PRINTING
EOF
DESCRIPTIVE VARIABLES
VARIABLE TYPES
END
|