Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
AP COMPUTER SCIENCE SUMMER 2015 ASSIGNMENT Email w/questions and completed assignments to [email protected] Completed assignments must be sent my school account ([email protected]) and must have the assignment as an attachment and not within the body of the email. Each file(attachment) should be named using your last name and the part number ----- for example yourLastName_part1.doc. You must put your name and APCS in the reference of all emails sent to me. There are 4 parts. Please note the due dates for each assignment. Again assignments must have the assignment as an attachment and not within the body of the email. This material will be covered and reviewed during the first few weeks of class. Part 1 **Send me an email with an attachment stating that you are in this course (follow directions above). I will be making an email contact list . DO this today. Write your full name and address in the document. For the summer assignment you will be downloading a pdf containing Chapters 1,2 and 3 of text 1 of the text below. This will be available on the SHP website. Text : Exposure Java Author: Schram, Leon. Print these and keep in a binder. Assignment for Part 1 **Send me an email today with an attachment stating that you are in this course (follow directions) Readings: Chapter 1 and 2 Schram. Answer questions provided (Exercises 1.1,1.2,2.1) and follow directions. Type your answers in paragraph form and include the complete question above each answer. Your name and email address must be included on all assignments. Due date June 29,2015 Late assignments will warrant dismissal from the course. Part 2 Readings: Chapter 3 Schram. Answer questions provided. (Exercises 3.1 & 3.2) Write your answers in paragraph form. Due date July 27, 2015. Part 3 --- History Write short, but descriptive, complete paragraphs defining the terms, events and inventors listed below as their work relates to the computer. There should be a separate paragraph for each topic. Arrange these paragraphs in chronological order, creating a timeline of significant events, inventions and contributors which led to the creation of the Mark I, the precursor of the modern (electronic) computers and then to the generations of the Modern (electronic computers)..Due date for part 3 is August 24, 2015 You must use a minimum of 4 sources. Follow MLA format for all citations and use both on line and off line (print) sources: ABACUS CHARLES BABBAGE CLIFFORD BERRY COMPUTER ENIAC INCLUDE THE DESIGNER(S) AND DATE OF FIRST OPERATION. EDSAC INCLUDE THE DESIGNER(S) AND DATE OF FIRST OPERATION. UNIVAC INCLUDE THE DESIGNER(S) AND DATE OF FIRST OPERATION. GOTTFRIED WILHELM VON LEIBNIZ GRACE HOPPER GEORGE BOOLE HOWARD H AIKEN HERMAN HOLLERITH JOSEPH MARIE JACQUARD JOHN MAUCHLY INTEGRATED CIRCUIT J. PROSPER ECKERT JOHN ATANASOFF JOHN VON NEUMANN JOHN NAPIER WILLIAM OUGHTRED BLAISE PASCAL CHARLES XAVIER THOMAS LADY ADA BYRON LARGE SCALE INTEGRATION MAURICE W ILKES TRANSISTOR SILICON Part 4 Write an essay describing the origins of the Java programming language. Comment as to whether it is a high or low level language. Include current applications in industry etc. Cite sources. Due date : first day of class. Student eligibility for AP Credit is based on maintaining a certain grade point average for this class and teacher’s discretion. Late assignments will warrant dismissal from the course. We will be using JCreator at school. But you can download Dr. Java to get started with our first programs. Downloading an IDE 1)for Dr. Java Go to : http://www.drjava.org/ and choose the appropriate download 2) for JCreator Go to this page to download both JCreator LE and the JSDK. (There is a 21 day trial and then the cost is approximately $35) http://jcreator.com/download.htm 3) You could alternatively use Eclipse or NetBeans AP Java Summer Exercises 1.1 01. Name the three main areas where computers are superior to people. 02. What are so called “computer errors” caused by? 03. Finish this sentence: Morse code is based on 04. In computer science, what means “on” and what means “off”? 05. What number system do we use? 06. What number system does the computer use? 07. What does “ASCII” stand for? 08. What does “BIT” stand for? 09. How many BITs are in a Byte? 10. What can one byte store? 11. What did early computer scientists need to do to create a set of computer instructions? 12. Early computers used vacuum tubes. What do today’s computers use? 13. In computers the main board with all the primary computer components is called the 14. Which 3 computer chips are we primarily concerned with? 15. What does “ROM” stand for? 16. What does “RAM” stand for? 17. Which memory is permanent, RAM or ROM? 18. About how many bytes are in a Tera Byte? 19. Exactly how many bytes are in a Kilo Byte? 20. What does “CPU” stand for? 21. Information is stored on a disk as “iron oxide”. What is the commonly used name substance? 22. List the three main things that can cause the information on your disk to be erased. 23. What kind of “ROM” uses laser light to read information? 24. What kind of information allows you to make a precise copy of the original? Exposure Java 01. 02. 03. 04. 05. 06. 07. 08. 09. 10. 11. 12. Exercises 1.2 What is a program? Which computer language uses mnemonic names? What is the relationship between base 2 numbers and base 16 numbers? What are the 2 kinds of translator programs? What is the difference between “high level” languages and “low level” languages? What is the name of the first successful, wide-spread, programming language? Who helped develop compilers and the business language COBOL? What does “BASIC” stand for? Who developed “Pascal”? What does “OOP” stand for? Who combined the popularity of C, with OOP? What was this new language called? for this AP Java Summer 01. 02. 03. 04. 05. 06. 07. 08. 09. 10. 11. 12. 13. 14. 15. 16. 17. Exercises 2.1 What is bytecode? How do you recognize bytecode files? What type of translator creates bytecode files? What type of translator executes bytecode files? What is a Java Application? What is a Java Applet? What are the three basic tools required for developing Java programs? What is an IDE? Describe the javac.exe program. Describe the java.exe program. Describe the appletviewer.exe program. What is the College Board view on Java input/output issues? Explain the difference between the print and println keywords. Explain Java case sensitivity. List some Java keywords. What is significant about the program file name? Write the minimal Java program, which is a template for all programs. AP Summer Name: 01. 02. 03. 04. 05. 06. 07. 08. 09. 10. Exercises 3.1 Date: Period: How do you declare an integer variable, called num? How do you declare an integer variable, called num and assign value 100 What is an IDE? What are Java integer data types? What are the integer binary operations? Do computers always compute arithmetic correctly? What is memory overflow? What are Java real number data types? What are the real number binary operations? Which real number data type is more accurate? Exercises 3.2 01. What are unary operators? 02. Are the prefix and postfix operators the same? 03. What is the meaning of num++? 04. Is num = num + 10; the same as num + 10 = num; ? 05. Why should unary operators only be used by themselves like num++; ? 06. What are the arithmetic assignment operators? 07. What does the statement num += 100; mean? 08. What is string concatenation? 09. How is string concatenation different from integer addition? 10. What is it called when the same operator + has multiple functions? 11. What is a literal constant? 12. What is a "variable" constant/ 13. How do you make an identifier, like number a constant integer? 14. What are self-documenting identifiers? 15. What comment style is available in Java? 16. Describe mathematical precedence in Java? 17. Are Java expression written the same as mathematical expression? 18. What is type casting? 19. Give an example of a statement that uses type casting. 20. When do you need to use type casting?