UPDATE: | Supply List | Calendar | Special Projects | Alternate Special Projects | Homework | Announcements | Word Search | Photos/Docs | Introduction to Programming | Links | NewsFlash | Teacher | Electives Write! Activities | Introduction to Computers | Exploring the Internet | Exploring the Internet Tutorials | Schedule | Internet Safety Activities | Gallery | General Assignments | Chalkboard | FAQ | UpdateIndex | Help
VIEW: Home | Supply List | Calendar | Special Projects | Alternate Special Projects | Homework | Announcements | Word Search | Photos/Docs | Introduction to Programming | Links | NewsFlash | Teacher | Electives Write! Activities | Introduction to Computers | Exploring the Internet | Exploring the Internet Tutorials | Schedule | Internet Safety Activities | Gallery | General Assignments | Chalkboard | FAQ
Black History Month Project - Assigned February 14, 2008
I. Select one computer scientist from the following link (preferably African-American): Computer Scientists of the African Diaspora .
Use Microsoft Word to compose a minimum 1 1/2 double-spaced typed biography of the person. Be sure to include the following information:
Use decorative elements in your report, like page borders, and a cover page consisting of a picture of the person.
II. Select one person from the following link: African-American Achievers in Modern Science.
III. Black Inventors: Click on the following link: Black Inventors (A to Z).
Go through the list of inventors from A to Z. Select one person for each letter of the alphabet that invented something that changed or improved technology in some way. You will create a PowerPoint presentation titled: Black or African-American (your choice) Inventors (A to Z). The subtitle should be the proper heading we use in class. Your presentation should include slide designs, backgrounds, slide transitions, animation schemes, sound effects, etc. You should have the following information on each slide:
Since there are some letters that do not have a name, you may use the hyperlinks above to see if any names fit the missing letters, since many of these computer scientists were also inventors.
All About Introduction to Computer Programming - Assigned February 12, 2008
You will select from the following options to create a document that discusses QBasic and or C++ Programming.
Your document should discuss what the programming languages are all about, what you can do with them, etc. It should be very in-depth and very decorative. You will receive extra-credit if your document is printed in color.
1. Software consists of all of the following:-the programs that are executed on computer hardware.-one or more sets of executable instructions that can be performed by microprocessor.-one or more related computer programs.
2. The three levels of computer languages are machine, assembly, and high-level languages.
3. Machine language is…- the only language that the computer can execute directly, and is different for each type of computer.- the very first language that was used for programming, but because it was very inefficient and confusing, it has been replaced by better, easier languages, and is rarely used today.
4. The programming language that is the most English-like is high-level.
5. Structured programming is…-encouraging the development of easy-to-understand programs.-encouraging the development of more error-free programs.-divided in modules, each performing a specific task.
6. All but one of the steps below is in the programming process:-Write and document the program.-Debug and test the program.-Define and document the program.-Design and document the solution.
7. Before a problem can be solved, it must be thoroughly understood.
8. Flowcharts graphically represent the logic flow of the solution to a programming problem.
9. Pseudocode is an English-like description of a program’s logic that doesn’t follow strict rules for writing it.
10. Top down design…-allows programmers to start from the general problem first, divide it into subtasks, and only then worry about details.-can be graphically illustrated by the structure chart.
11. An algorithm is…-the sequence of steps needed to solve a problem.-a fancy word for a step-by-step procedure.-developed as a solution to a programming problem.
12. Testing your program means to try a variety of data to determine whether the results are always correct.
13. Syntax errors occur when the programmer violates the grammatical rules of the language.
14. The 3 basic logic structures in programming are the sequence, decision, and looping structures.
15. Doing push-ups at the PE class represents a looping structure.
16. Opening an umbrella during a Sunday park walk represents a decision structure.
17. Performing simple arithmetic calculation represents a sequence structure.
18. Computer program modules are subparts within a program designed to perform a specific task.
19. A sequence of instructions that tells the computer how to solve a problem is called a program.
20. Computer instructions must be written in programming language.
21. Programming commands or reserved words in QBasic are called keywords.
22. A value that does not change during program execution is called a constant.
23. Both of these will present a constant: “25” and 25.
24. Both of these will present a variable name: V and 6$.
25. We use variable names to identify storage location.
26. A variable can contain only one value at a time.
27. The PRINT statement is used to display the results of computer processing.
28. The ELSE keyword is added to a single alternative IF to make it into a double alternative IF.
29. The INPUT statement allows the user to enter data at the keyboard while the program is executing.
30. Boolean expression always evaluates to true or false.
Matching:
Match each term on the left with the term from the right based on their relevance.
__c_ 31. IF
__a_ 32. CASE
__e_ 33. INPUT
_d_ 34. READ
__b_ 35. REM
a. SELECT
b. ‘
c. ELSE
d. PRINT
e. DATA
36. Control structures allow us to control the order in which statements are executed.(T)
37. Boolean expressions always evaluate to true, unless it evaluates to false. (T)
38. String containing 5 characters is always larger than string containing 1 character.(T)
39. Double alternative decision structure is a decision structure in which one action is taken if the specified condition is false and another action if it is true.(F)
40. ((5>3) AND (7<9)) OR (4=6) will evaluate to what?(F)
41. We can’t compare strings and numbers. (T)
42. Strings can be compared with other strings.(T)
43. Numeric constant is a number contained in a statement. (T)
44. (NOT (3=4) ) AND ( (8>=4) OR (8=9) ) evaluates to: (F)
45. All computer processing requires some data.(T)
46. IF control structure must also include ELSE keyword.(F)
47. QBasic is one of the sophisticated programming languages of today.(T)
48. Infinite loop is a loop that executes thousands of times.(F)
49. The following is a valid QBasic statement: name = John (F)
50. One bit is equal 8 bytes.(T)
Determine and indicate the output of the program segment.
In question 51, assume variable X can have any numerical value.
51. IF X > 0 AND X < 0 THEN
PRINT “Hi”
ELSE
PRINT “Good-bye”
END IF
a. HI
b. Good-bye
c. Error
d. Blank Screen
e. Output depends on the value of X
---------------------------------------------------------------------------------------------------------------
52. x = 55IF x = 5 THEN
PRINT “555”
PRINT “5555”
a. 5
b. 55
c. 555
d. 5555
53. age = 21IF age>21 THEN
drink$=”wine”
drink$=”sprite”
PRINT “You are going to have “; drink$
a. wine
b. You are going to have wine
c. sprite
d. You are going to have sprite
54. x = 5
y$ = “y”
IF x <> 5 THEN
PRINT “Nothing”
IF y$ = “y” THEN
PRINT “Something”
PRINT “Neither”
a. Nothing
b. Something
c. Neither
d. Error
Access the following website http://www.tedfelix.com/qbasic and complete all of the practice program exercises. (Assigned on December 5, 2007)
Constants and Variables Exercise
Determine whether statements below are valid QBasic statements (legal statements, following grammatical rules of the programming language). Type each statement into QBasic screen and press F5 to run the statement. If statement is correct you will see black screen with the message "press any key to continue". Otherwise, if the statement is not valid, the pop up window will be displayed explaining the error.On a separate sheet of paper, next to the each statement, indicate whether it is correct, and why is it correct, or why it is not correct. Also, maintain the status of main memory at all times. Submit your work once all statements are completed.
Statements: