A.P. Computer Science A Summer Packet

Size: px
Start display at page:

Download "A.P. Computer Science A Summer Packet"

Transcription

1 A.P. Computer Science A Summer Packet Name: Advisory Teacher: AP Computer Science A Summer 2017

2 Dear Student, Computer Science is a growing subject of study, and one that leads to many opportunities in the educational and/or business world today. In this course you will continue to learn the fundamentals of computer science with the focus on Object Oriented Programming (OOP) concepts. Major topics to be discussed this year are: classes, interaction of different classes to solve problems, inheritance, arrays, 2D arrays, array lists, polymorphism, sorting and searching algorithms, and more! This course will prepare you for further study of computer science, and is the first step in preparing for a career in software engineering or information management or genetic engineering or any other field of study you want to pursue. Computer Science has a wide range of application in biology, mathematics, physics, finance, history, social science, and can be combined with any field of study. More than anything else, this course will allow you to develop your logical reasoning and problem solving ability. This course is going to be very quick-paced, in the sense that it builds on your ability to understand and apply logical structures learnt in PAP Computer Science I. In addition to lab time in school, you will need to set up a working environment at home also. This is needed as every person learns at different pace and class time might not be enough to develop and implement solution. In this packet, you will find the assignments (programs) that need to be completed and submitted by the first day of class. You will submit these assignments through Edmodo. Please contact Coach Torres by gatorres@lcisd.org in order to obtain the Edmodo Group Code and files needed to set up your coding work Enviroment. Please keep in mind, AP Computer Science A is not an introductory course. At GRHS, we offer PAP Computer Science I which you should have taken last year. If you have not taken PAP Computer Science I at GRHS, then you should still be able to complete the assignments in this packet without confusion if you are deciding to in fact skip PAP Computer Science I. Again, if you have any questions about the assignment, please feel free to contact me by gatorres@lcisd.org. -Mr. Gabriel Torres

3 Setting up your working environment In order to set up your working environment to complete the assignment, please refer to the Installation PowerPoint slides in Edmodo. To Begin the installation process, go to following link to Install the JDK: Download the jdk file, and follow the steps in the Installation PowerPoint (located in Folders of Edmodo page) in Slides #26 - #32. Next, locate the file Jcrea450 Setup2.exe in the Set up folder in Edmodo. Execute the file, and walk through the process of installing JCreator. Last, to ensure everything is set up, locate the Java02012.java file in the Set up folder, and downlaod Java02012.java. Build, run, and execute the file as shown below.

4 Navigate to wherever you downloaded / saved Java02012.java to. Be sure that the class name matches that of the Java file.

5 --If you have any trouble, please do not hesitate to contact me at or post your question on the Emodo group page. Someone may have had the same question, and the answer may already be posted.

6 Assignments / Labs These Assignments MUST be completed by the 1 st day of school and turned in via Edmodo. Please use the Expo Class methods in order to help code the assignments 1. Create a program that computes the distance an object will fall in Earth s gravity a. Create a Java file called GravityCalculator b. Copy and past the Source code below. public class GravityCalculator public static void main(string[] args) double gravity = -9.81; // Earth's gravity in m/s^2 double initialvelocity = 0.0; double fallingtime = 10.0; double initialposition = 0.0; double finalposition = 0.0; System.out.println("The object's position after " + fallingtime + " seconds is " + finalposition+ " m"); c. Build, Run, and execute. What is the output of the unmodified program? Include this as a comment in the source code of your submission. 2. Modify the above program to compute the position of an object after falling for 10 seconds, outputting the position in meters. The formula in Math notation is: x(t) = 0.5at 2 + v i t + x i, where: a = Acceleration = 9.81 t = Time (in seconds) = 0 v i = Initial Velocity = 0 x i = Initial position = 0

7 3. Write and run a program that displays a table of 20 temperature conversions from Fahrenheit to Celsius. The table should start with a Fahrenheit value of 20 degrees and be incremented in values of 3 degrees. Recall that Celsius = 5.0 (Fahrenheit 32) Write and run a program that calculates and displays the amount of money available in a bank account that has $100 deposited in it and that earns 8% interest per year. Your program should display the amount available at the end of each year for a period of 10 years. Use the relationship that the money available at the end of each year equals the amount of money in the account at the start of the year plus 0.08 times the amount available at the start of the year. 5. A child s parents promised to give the child $10 on her twelfth birthday and double the gift on every subsequent birthday until the gift exceeded $1000. Write a Java program to determine how old the girl will be when the last amount is given, and the total amount she received including the last gift. 6. Write a program to reverse the digits of a positive integer number. The user will must be prompted to enter the number themselves. For example, if the number 6573 is entered, the number displayed should be Write a java program to find the sum of the first 100 terms in the series n (n + 1) Verify that the sum equals n. Determine the value that the sum approaches as n gets n+1 infinitely large (i.e. n ). 8. As a full time student, you took 4 courses last term. Write, run and test a Java program that calculates and displays your grade-point average (GPA) for the term. Your program should prompt the user to enter the grade and credit hours for each course. These should then be displayed with the lower grade first. The grade-point average for the term should be calculated and displayed. A warning message should be printed if the GPA is less than 2.0 and a congratulatory message if the GPA is 3.5 or above.

8 9. Write individual for statements for the following cases a. Use a counter named i that has an initial value of 1, a final value of 20, and an increment of 1. b. Use a counter named count that has an initial value of 1, a final value of 20, and an increment of 2. c. Use a counter named j that has an initial value of 1, a final value of 100 and an increment of 5. d. Use a counter named count that has an initial value of 20, a final value of 1, and an increment of -1. e. Use a counter named count that has an initial value of 20, a final value of 1 and an increment of -2. f. Use a counter named xcnt that has an initial value of 20.0, a final value of 9.5 and an increment of Determine the number of times each for loop is executed for the for statements written in question Determine the value in total after each of the following loops is executed: a. int total = 0; for(int i=1; i<=10; i = i+1) total = total+1; b. int total = 1; for(int count =1; count <=10; count = count+1) total = total*2; c. int total =0; for(int i=10; i<=15; i = i+1) total = total+i;

9 d. int total = 50; for(int i=1; i<=10; i = i+1) total = total+i; e. int total = 1; for(int icnt = 1; icnt <=8; ++icnt) total = total*icnt; Resources: 1) Edmodo How to instructions on setting up working Environment and Review text. 2) Edmodo Expo.class and Expo.html help file to use methods of the Expo Class to complete the assignments. 3) Java Tutorials - 4) Java Tutorials by Oracle -

AP Computer Science A Summer Assignment 2017

AP Computer Science A Summer Assignment 2017 AP Computer Science A Summer Assignment 2017 The objective of this summer assignment is to ensure that each student has the ability to compile and run code on a computer system at home. We will be doing

More information

Research Group. 2: More types, Methods, Conditionals

Research Group. 2: More types, Methods, Conditionals Research Group 2: More types, Methods, Conditionals Outline Lecture 1 Review More types Methods Conditionals 2 Types Kinds of values that can be stored and manipulated. boolean: Truth value (true or false).

More information

AP Computer Science Summer Work Mrs. Kaelin

AP Computer Science Summer Work Mrs. Kaelin AP Computer Science Summer Work 2018-2019 Mrs. Kaelin jkaelin@pasco.k12.fl.us Welcome future 2018 2019 AP Computer Science Students! I am so excited that you have decided to embark on this journey with

More information

AP Computer Science A Summer Assignment

AP Computer Science A Summer Assignment Mr. George AP Computer Science A Summer Assignment Welcome to AP Computer Science A! I am looking forward to our class. Please complete the assignment below. It is due on the first day back to school in

More information

Welcome. Orientation to online CPS102 Computer Science 2 (Java 2)

Welcome. Orientation to online CPS102 Computer Science 2 (Java 2) Welcome Orientation to online CPS102 Computer Science 2 (Java 2) All online courses use Blackboard system, as soon as you login Blackboard in college s pipeline, please complete Blackboard Learn Student

More information

Summer Assignment for AP Computer Science. Room 302

Summer Assignment for AP Computer Science. Room 302 Fall 2016 Summer Assignment for AP Computer Science email: hughes.daniel@north-haven.k12.ct.us website: nhhscomputerscience.com APCS is your subsite Mr. Hughes Room 302 Prerequisites: You should have successfully

More information

Summer Assignment for the School Year

Summer Assignment for the School Year Summer Assignment for the 2018-2019 School Year Course: AP Computer Science A Instructor: Mr. Rivera Welcome to AP Computer Science A. I am looking forward to an exciting school year of teaching Computer

More information

Homeschool Programming, Inc.

Homeschool Programming, Inc. Online Course Overview Course Title: TeenCoder: Java Programming TeenCoder: Java Programming Online Course Syllabus and Planner Updated November, 2015 Online ISBN: 978-0-9887070-2-3, published 2015 by

More information

************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE

************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE Program 10: 40 points: Due Tuesday, May 12, 2015 : 11:59 p.m. ************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE *************

More information

AP Physics 1 and 2 Summer Assignment

AP Physics 1 and 2 Summer Assignment AP Physics 1 and 2 Summer Assignment Due: First Day of Class Welcome to AP Physics! You are responsible for the material covered in the first three chapters of your textbook. The questions that follow

More information

AP Computer Science A Summer Assignment

AP Computer Science A Summer Assignment AP Computer Science A Summer Assignment Welcome to AP Computer Science A! I am looking forward to our class. Please complete the assignment below. Email the completed Part I as an attachment to kgeorge@glenridge.org

More information

Faculty of Engineering Computer Engineering Department Islamic University of Gaza C++ Programming Language Lab # 6 Functions

Faculty of Engineering Computer Engineering Department Islamic University of Gaza C++ Programming Language Lab # 6 Functions Faculty of Engineering Computer Engineering Department Islamic University of Gaza 2013 C++ Programming Language Lab # 6 Functions C++ Programming Language Lab # 6 Functions Objective: To be familiar with

More information

Lesson 10: Quiz #1 and Getting User Input (W03D2)

Lesson 10: Quiz #1 and Getting User Input (W03D2) Lesson 10: Quiz #1 and Getting User Input (W03D2) Balboa High School Michael Ferraro September 1, 2015 1 / 13 Do Now: Prep GitHub Repo for PS #1 You ll need to submit the 5.2 solution on the paper form

More information

LAB 2.1 INTRODUCTION TO C PROGRAMMING

LAB 2.1 INTRODUCTION TO C PROGRAMMING LAB 2.1 INTRODUCTION TO C PROGRAMMING School of Computer and Communication Engineering Universiti Malaysia Perlis 1 1. OBJECTIVES: 1.1 To be able to apply basic rules and structures of C in writing a simple

More information

AP Computer Science Unit 1. Writing Programs Using BlueJ

AP Computer Science Unit 1. Writing Programs Using BlueJ AP Computer Science Unit 1. Writing Programs Using BlueJ 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save

More information

AP Computer Science Unit 1. Writing Programs Using BlueJ

AP Computer Science Unit 1. Writing Programs Using BlueJ AP Computer Science Unit 1. Writing Programs Using BlueJ 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save

More information

CPS 216, Problem Solving and Programming Techniques in C++ Saleh M. Alnaeli, Ph.D. Spring, Lab_Week2

CPS 216, Problem Solving and Programming Techniques in C++ Saleh M. Alnaeli, Ph.D. Spring, Lab_Week2 CPS 216, Problem Solving and Programming Techniques in C++ Saleh M. Alnaeli, Ph.D. Spring, 2016 Lab_Week2 1 My goals Goals for this problem set: write and evaluate expressions to compute numeric values

More information

CS/ENGRD 2110 Object-Oriented Programming and Data Structures Spring 2012 Thorsten Joachims

CS/ENGRD 2110 Object-Oriented Programming and Data Structures Spring 2012 Thorsten Joachims CS/ENGRD 2110 Object-Oriented Programming and Data Structures Spring 2012 Thorsten Joachims Lecture 1: Overview http://courses.cs.cornell.edu/cs2110 1 Course Staff Instructor Thorsten Joachims (tj@cs.cornell.edu)

More information

HHH Instructional Computing Fall

HHH Instructional Computing Fall Quick Start Guide for School Web Lockers Teacher log-on is the same as for Infinite Campus Student log-on is the same initial log on to the network except no school year is required before their user name

More information

Repetition Structures

Repetition Structures Repetition Structures Chapter 5 Fall 2016, CSUS Introduction to Repetition Structures Chapter 5.1 1 Introduction to Repetition Structures A repetition structure causes a statement or set of statements

More information

INTRODUCTION TO COMPUTER SCIENCE - JAVA

INTRODUCTION TO COMPUTER SCIENCE - JAVA INTRODUCTION TO COMPUTER SCIENCE - JAVA North Brunswick Township Public Schools Acknowledgements Vivian S. Morris Math/Computer Science Teacher Diane Galella Supervisor of the Math Department Written SPRING

More information

Career and Technical Education. Career Clusters

Career and Technical Education. Career Clusters Career and Technical Education Career Clusters Foundational Courses courses essential for a particular career area - courses that compliment and enrich knowledge of a particular career area Agriculture,

More information

13 th Windsor Regional Secondary School Computer Programming Competition

13 th Windsor Regional Secondary School Computer Programming Competition SCHOOL OF COMPUTER SCIENCE 13 th Windsor Regional Secondary School Computer Programming Competition Hosted by The School of Computer Science, University of Windsor WORKSHOP I [ Overview of the Java/Eclipse

More information

Introduction to Computer Science using JAVA

Introduction to Computer Science using JAVA NJ CCCS AREA: 21 st -CENTURY LIFE AND CAREERS NJ-CCSS AREA: MATHEMATICS North Brunswick Township Public Schools Introduction to Computer Science using JAVA Acknowledgements Vivian Morris, Teacher Diane

More information

Condition Controlled Loops. Introduction to Programming - Python

Condition Controlled Loops. Introduction to Programming - Python + Condition Controlled Loops Introduction to Programming - Python + Repetition Structures n Programmers commonly find that they need to write code that performs the same task over and over again + Example:

More information

Full file at

Full file at Java Programming: From Problem Analysis to Program Design, 3 rd Edition 2-1 Chapter 2 Basic Elements of Java At a Glance Instructor s Manual Table of Contents Overview Objectives s Quick Quizzes Class

More information

TOOLS AND TECHNIQUES FOR TEST-DRIVEN LEARNING IN CS1

TOOLS AND TECHNIQUES FOR TEST-DRIVEN LEARNING IN CS1 TOOLS AND TECHNIQUES FOR TEST-DRIVEN LEARNING IN CS1 ABSTRACT Test-Driven Development is a design strategy where a set of tests over a class is defined prior to the implementation of that class. The goal

More information

Dear Select Choir Students and Families,

Dear Select Choir Students and Families, Dear Select Choir Students and Families, Edmodo is a free, secure, social learning platform for teachers, students, schools and districts. Edmodo provides teachers and students with a secure and easy way

More information

Introduction to Java Unit 1. Using BlueJ to Write Programs

Introduction to Java Unit 1. Using BlueJ to Write Programs Introduction to Java Unit 1. Using BlueJ to Write Programs 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save

More information

Building Java Programs

Building Java Programs Building Java Programs Chapter 2 Lecture 2-2: The for Loop reading: 2.3 1 2 Repetition with for loops So far, repeating a statement is redundant: System.out.println("Homer says:"); System.out.println("I

More information

Building Java Programs

Building Java Programs Building Java Programs Chapter 2 Lecture 2-2: The for Loop reading: 2.3 1 Repetition with for loops So far, repeating a statement is redundant: System.out.println("Homer says:"); System.out.println("I

More information

Student Performance Q&A:

Student Performance Q&A: Student Performance Q&A: 2004 AP Computer Science A Free-Response Questions The following comments on the 2004 free-response questions for AP Computer Science A were written by the Chief Reader, Chris

More information

CMPSC 111 Introduction to Computer Science I Fall 2016 Lab 2 Assigned: September 7, 2016 Due: Wednesday, September 14, 2016 by 2:30 pm

CMPSC 111 Introduction to Computer Science I Fall 2016 Lab 2 Assigned: September 7, 2016 Due: Wednesday, September 14, 2016 by 2:30 pm 1 Objectives CMPSC 111 Introduction to Computer Science I Fall 2016 Lab 2 Assigned: September 7, 2016 Due: Wednesday, September 14, 2016 by 2:30 pm To develop a template for a Java program to use during

More information

Building Java Programs. Chapter 2: Primitive Data and Definite Loops

Building Java Programs. Chapter 2: Primitive Data and Definite Loops Building Java Programs Chapter 2: Primitive Data and Definite Loops Copyright 2008 2006 by Pearson Education 1 Lecture outline data concepts Primitive types: int, double, char (for now) Expressions: operators,

More information

Table of Contents. Getting Started Guide 3. Setup Your Profile 4. Setup Your First Office Hours Block 5. Respond to a Progress Survey 6

Table of Contents. Getting Started Guide 3. Setup Your Profile 4. Setup Your First Office Hours Block 5. Respond to a Progress Survey 6 Starfish User Guide 2 Table of Contents Contents Page Getting Started Guide 3 Setup Your Profile 4 Setup Your First Office Hours Block 5 Respond to a Progress Survey 6 Raise a Flag or Kudos 7 Clear a Flag

More information

CHARMS ASSIGNMENT. Complete by Tuesday, 9/4 100 points!

CHARMS ASSIGNMENT. Complete by Tuesday, 9/4 100 points! CHARMS ASSIGNMENT Complete by Tuesday, 9/4 100 points! Charms is a web-based management system for music teachers. One of the great features of Charms is its ability to make it easy and efficient for me

More information

Control Statements: Part 1

Control Statements: Part 1 4 Let s all move one place on. Lewis Carroll Control Statements: Part 1 The wheel is come full circle. William Shakespeare How many apples fell on Newton s head before he took the hint! Robert Frost All

More information

Lecture 3. COMP1006/1406 (the Java course) Summer M. Jason Hinek Carleton University

Lecture 3. COMP1006/1406 (the Java course) Summer M. Jason Hinek Carleton University Lecture 3 COMP1006/1406 (the Java course) Summer 2014 M. Jason Hinek Carleton University today s agenda assignments 1 (graded) & 2 3 (available now) & 4 (tomorrow) a quick look back primitive data types

More information

Extracurricular Activities April 15, 2011

Extracurricular Activities April 15, 2011 Extracurricular Activities April 15, 2011 Extracurricular events are events and activities that do not fall within the scope of the regular school curriculum, are officially recognized and sanctioned by

More information

Parent Student Portal User Guide. Version 3.1,

Parent Student Portal User Guide. Version 3.1, Parent Student Portal User Guide Version 3.1, 3.21.14 Version 3.1, 3.21.14 Table of Contents 4 The Login Page Students Authorized Users Password Reset 5 The PSP Display Icons Header Side Navigation Panel

More information

Laboratory 5: Implementing Loops and Loop Control Strategies

Laboratory 5: Implementing Loops and Loop Control Strategies Laboratory 5: Implementing Loops and Loop Control Strategies Overview: Objectives: C++ has three control structures that are designed exclusively for iteration: the while, for and do statements. In today's

More information

Endorsement: Business & Industry

Endorsement: Business & Industry Endorsement: Business & Industry Students will learn about a variety of IT concepts including computer software, computer hardware, careers in IT, and how to prepare and give presentations. Students will

More information

Basic computer skills such as using Windows, Internet Explorer, and Microsoft Word. Chapter 1 Introduction to Computers, Programs, and Java

Basic computer skills such as using Windows, Internet Explorer, and Microsoft Word. Chapter 1 Introduction to Computers, Programs, and Java Basic computer skills such as using Windows, Internet Explorer, and Microsoft Word Chapter 1 Introduction to Computers, Programs, and Java Chapter 2 Primitive Data Types and Operations Chapter 3 Selection

More information

JAVA PROGRAMMING (340)

JAVA PROGRAMMING (340) Page 1 of 8 JAVA PROGRAMMING (340) REGIONAL 2016 Production Portion: Program 1: Base K Addition (335 points) TOTAL POINTS (335 points) Judge/Graders: Please double check and verify all scores and answer

More information

3D Graphics Programming Mira Costa High School - Class Syllabus,

3D Graphics Programming Mira Costa High School - Class Syllabus, 3D Graphics Programming Mira Costa High School - Class Syllabus, 2009-2010 INSTRUCTOR: Mr. M. Williams COURSE GOALS and OBJECTIVES: 1 Learn the fundamentals of the Java language including data types and

More information

Creating a Parent Portal Account

Creating a Parent Portal Account Creating a Parent Portal Account Step 1: Go to https://focus.bayschools.net/focus/auth Step 2: Click on I DO NOT have an Account Registered on the Parent Portal but my child is Actively Enrolled Welcome

More information

A Bad Idea Monday, April 16, :23 AM

A Bad Idea Monday, April 16, :23 AM Writing Functions Page 1 A Bad Idea 10:23 AM These notes are going to introduce how to write a function using an idea that may completely mislead the weak minded student. All students must be particularly

More information

CS 231 Data Structures and Algorithms, Fall 2016

CS 231 Data Structures and Algorithms, Fall 2016 CS 231 Data Structures and Algorithms, Fall 2016 Dr. Bruce A. Maxwell Department of Computer Science Colby College Course Description Focuses on the common structures used to store data and the standard

More information

St. Edmund Preparatory High School Brooklyn, NY

St. Edmund Preparatory High School Brooklyn, NY AP Computer Science Mr. A. Pinnavaia Summer Assignment St. Edmund Preparatory High School Name: I know it has been about 7 months since you last thought about programming. It s ok. I wouldn t want to think

More information

Methods CSC 121 Fall 2014 Howard Rosenthal

Methods CSC 121 Fall 2014 Howard Rosenthal Methods CSC 121 Fall 2014 Howard Rosenthal Lesson Goals Understand what a method is in Java Understand Java s Math Class Learn the syntax of method construction Learn both void methods and methods that

More information

ALIGARH MUSLIM UNIVERSITY Department of Computer Science. JAVA Lab Assignment Course: MCA II nd Semester Academic Session:

ALIGARH MUSLIM UNIVERSITY Department of Computer Science. JAVA Lab Assignment Course: MCA II nd Semester Academic Session: ALIGARH MUSLIM UNIVERSITY Department of Computer Science Dated: 25-01-2016 JAVA Lab Assignment Course: MCA II nd Semester Academic Session: 2015-2016 CSM-241: Object Oriented Programming Using JAVA Note:

More information

Write a java program to prints the count of odd and even no s entered.

Write a java program to prints the count of odd and even no s entered. Dated: 27-01-2014 ALIGARH MUSLIM UNIVERSITY Department of Computer Science CS-2P1: Object Oriented Programming Using JAVA Java Lab Assignment Course: MCA (Semester-II nd ) Academic Session: 2013-2014 Note:

More information

Question 2. [2 points] Which of the following is a correct statement to obtain user input? (Assume that fleems is an int variable.

Question 2. [2 points] Which of the following is a correct statement to obtain user input? (Assume that fleems is an int variable. CS 101, Spring 2016 Feb 23rd Exam 1 Name: Question 1. [2 points] Write a statement(s) to declare a variable named num students that will be used to store the number of students and set the value of the

More information

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution.

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution. Repetition Structures Introduction to Repetition Structures Chapter 5 Spring 2016, CSUS Chapter 5.1 Introduction to Repetition Structures The Problems with Duplicate Code A repetition structure causes

More information

Introduction to Object Oriented Systems Development. Practical Session (Week 2)

Introduction to Object Oriented Systems Development. Practical Session (Week 2) This practical session consists of three parts. Practical Session (Week 2) Part 1 (Tutorial). Starting with NetBeans In this module, we will use NetBeans IDE (Integrated Development Environment) for Java

More information

CSC 1051 Data Structures and Algorithms I

CSC 1051 Data Structures and Algorithms I Repetition CSC 1051 Data Structures and Algorithms I Dr. Mary-Angela Papalaskari Department of Computing Sciences Villanova University Course website: www.csc.villanova.edu/~map/1051/ Some slides in this

More information

BETHESDA CHEVY CHASE HIGH SCHOOL Career and Technology Education Department

BETHESDA CHEVY CHASE HIGH SCHOOL Career and Technology Education Department BETHESDA CHEVY CHASE HIGH SCHOOL Career and Technology Education Department Mr. Jonathan Nateghi-Asli Jonathan_A_Nateghi-Asli@mcpsmd.org Resource Teacher http://bit.ly/bcctechnology Graduation Requirements

More information

COMPUTER APPLICATIONS

COMPUTER APPLICATIONS COMPUTER APPLICATIONS (Theory) (Two hours) Answers to this Paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent

More information

Building Java Programs

Building Java Programs Building Java Programs Chapter 3 Lecture 7: Return values, Math, and casting reading: 3.2, 2.1-2.2 (Slides adapted from Stuart Reges, Hélène Martin, and Marty Stepp) Copyright 2011 by Pearson Education

More information

Your message in Outlook will look something like the illustration below. Begin by right-clicking on the name of the attachment.

Your  message in Outlook will look something like the illustration below. Begin by right-clicking on the name of the attachment. Page 1 of 11 Dear Teacher, Tutor or Program Coordinator, The deadline for entries to this year s edition of To Open Your Mind is just a month away February 16! Please try to get your entries in as soon

More information

AP Computer Science Unit 1. Programs

AP Computer Science Unit 1. Programs AP Computer Science Unit 1. Programs Open DrJava. Under the File menu click on New Java Class and the window to the right should appear. Fill in the information as shown and click OK. This code is generated

More information

CS 101 Spring 2007 Midterm 2 Name: ID:

CS 101 Spring 2007 Midterm 2 Name:  ID: You only need to write your name and e-mail ID on the first page. This exam is CLOSED text book, closed-notes, closed-calculator, closed-neighbor, etc. Questions are worth different amounts, so be sure

More information

Inf1-OP. Inf1-OP Exam Review. Timothy Hospedales, adapting earlier version by Perdita Stevens and Ewan Klein. March 20, School of Informatics

Inf1-OP. Inf1-OP Exam Review. Timothy Hospedales, adapting earlier version by Perdita Stevens and Ewan Klein. March 20, School of Informatics Inf1-OP Inf1-OP Exam Review Timothy Hospedales, adapting earlier version by Perdita Stevens and Ewan Klein School of Informatics March 20, 2017 Overview Overview of examinable material: Lectures Week 1

More information

Introduction to Computer Science Unit 2. Notes

Introduction to Computer Science Unit 2. Notes Introduction to Computer Science Unit 2. Notes Name: Objectives: By the completion of this packet, students should be able to describe the difference between.java and.class files and the JVM. create and

More information

ANSWER everything on page

ANSWER everything on page APPLY TEXAS SESSION ANSWER everything on page DO NOT use school email use your personal one USE A Valid Email NCTC WILL use this to contact you! One you check regularly preferred If this is a PO BOX

More information

Switched-On Schoolhouse 2014 User Guide Reports & Application Functions

Switched-On Schoolhouse 2014 User Guide Reports & Application Functions Switched-On Schoolhouse 2014 User Guide Reports & Application Functions MMVI Alpha Omega Publications, Inc. Switched-On Schoolhouse 2014, Switched-On Schoolhouse. Switched-On, and their logos are registered

More information

Blackboard 9 Instructor Manual

Blackboard 9 Instructor Manual Blackboard 9 Instructor Manual Online Education Department Edition Before Class Begins Posting Announcements page 2 Creating an Instructor Profile page 3 Setting Availability page 4 Setting Due Dates page

More information

Summer Packet for Students Enrolled in Honors Geometry School Year

Summer Packet for Students Enrolled in Honors Geometry School Year Summer Packet for Students Enrolled in Honors Geometry 2016-2017 School Year Dear Parents and Students, This math packet contains 51 problems related to the 9 th grade Common Core mathematics curriculum.

More information

AP CS Unit 3: Control Structures Notes

AP CS Unit 3: Control Structures Notes AP CS Unit 3: Control Structures Notes The if and if-else Statements. These statements are called control statements because they control whether a particular block of code is executed or not. Some texts

More information

LAB 4.1 Relational Operators and the if Statement

LAB 4.1 Relational Operators and the if Statement LAB 4.1 Relational Operators and the if Statement // This program tests whether or not an initialized value of num2 // is equal to a value of num1 input by the user. int main( ) int num1, // num1 is not

More information

AP Computer Science Homework Set 1 Fundamentals

AP Computer Science Homework Set 1 Fundamentals AP Computer Science Homework Set 1 Fundamentals P1A. Using MyFirstApp.java as a model, write a similar program, MySecondApp.java, that prints your favorites. Your program should do the following: a. create

More information

Decision-Making and Repetition

Decision-Making and Repetition 2.2 Recursion Introduction A recursive method is a method that call itself. You may already be familiar with the factorial function (N!) in mathematics. For any positive integer N, N! is defined to be

More information

Business. Business Education Department Philosophy

Business. Business Education Department Philosophy Accounting 1, 2 AP Computer Science A Law Career Internship Program Computer Applications (MOS) Consumer Economics Introduction to ios Development (Apple Apps) Keyboarding Marketing Networking Software

More information

CIS 120. Introduction to Programming

CIS 120. Introduction to Programming CIS 120 Introduction to Programming Approved: May 6, 2011 EFFECTIVE DATE: Fall 2011 COURSE PACKAGE FORM Contact Person (s) Matt Butcher, Andra Goldberg, Dave White, Steve Sorden Date of proposal to Curriculum

More information

AP Computer Science Summer Assignment (updated 5/29/2018) DUE : Sept. 4, 2018

AP Computer Science Summer Assignment (updated 5/29/2018) DUE : Sept. 4, 2018 AP Computer Science 2018 2019 E-mail: taegoode@vbschools.com Summer Assignment (updated 5/29/2018) DUE : Sept. 4, 2018 This assignment is due on the first day of class. Please read the instructions carefully

More information

SUMMER REVIEW PACKET 2 FOR STUDENTS ENTERING ALGEBRA 1

SUMMER REVIEW PACKET 2 FOR STUDENTS ENTERING ALGEBRA 1 SUMMER REVIEW PACKET FOR STUDENTS ENTERING ALGEBRA Dear Students, Welcome to Ma ayanot. We are very happy that you will be with us in the Fall. The Math department is looking forward to working with you

More information

Using Home Access Center

Using Home Access Center Page 1 of 27 Using Home Access Center Home Access Center (HAC) is a browser-based student information system that allows you to view student registration, report card, attendance, discipline, transcript,

More information

Tyler SIS Student 360 Parent Portal

Tyler SIS Student 360 Parent Portal To begin using the Parent Portal, follow these steps: 1.) Your password will be emailed to the address KSD has on record for you. 2.) Go to the Tyler SIS Student 360 web page https://sis.kunaschools.org/idkn360

More information

Object Oriented Programming with Java

Object Oriented Programming with Java Object Oriented Programming with Java What is Object Oriented Programming? Object Oriented Programming consists of creating outline structures that are easily reused over and over again. There are four

More information

Section 1: Let s Shake Off the Rust!

Section 1: Let s Shake Off the Rust! CSc 127B Introduction to Computer Science II Fall 2015 (McCann) http://www.cs.arizona.edu/classes/cs127b/fall15/ Section 1: Let s Shake Off the Rust! Your section leader should have told you to pair up

More information

C Sc 227 Project 1: Three Main Methods

C Sc 227 Project 1: Three Main Methods C Sc 227 Project 1: Three Main Methods Collaboration Solo! Complete all four programs by yourself. Turnin: Print programs 1, 2, and 3 (Welcome.java not needed), staple them together (or lose points) and

More information

Selec%on and Decision Structures in Java: If Statements and Switch Statements CSC 121 Fall 2016 Howard Rosenthal

Selec%on and Decision Structures in Java: If Statements and Switch Statements CSC 121 Fall 2016 Howard Rosenthal Selec%on and Decision Structures in Java: If Statements and Switch Statements CSC 121 Fall 2016 Howard Rosenthal Lesson Goals Understand Control Structures Understand how to control the flow of a program

More information

AP Computer Science A Syllabus

AP Computer Science A Syllabus AP Computer Science A Syllabus 2017-2018 School Year Instructor Information Instructor Email School/ Room Mr. Michael Karolewicz karolewiczm@tmore.org St Thomas More HS, Rm 355 Course Overview Our Class

More information

Service High Biomedical Career Academy Application Packet

Service High Biomedical Career Academy Application Packet Service High Biomedical Career Academy Application Packet Service High School 5577 Abbott Road Anchorage, Alaska 99507 Contact: williamson_kaity@asdk12.org or pillai_vani@asdk12.org Tel: 742 8100 http://shsbiomedicalcareeracademy.weebly.com

More information

Topic 5 for loops and nested loops

Topic 5 for loops and nested loops Topic 5 for loops and nested loops Always to see the general in the particular is the very foundation of genius. -Arthur Schopenhauer Based on slides by Marty Stepp and Stuart Reges from http://www.buildingjavaprograms.com/

More information

Westwood High School Academies

Westwood High School Academies Westwood High School Academies Who is Mrs. Sanchez? WHS Career Technical Education Academy Specialist Endorsements A What is an endorsement? Why does a student select an endorsement? Endorsements The

More information

1) Complete problems 1-65 on pages You are encouraged to use the space provided.

1) Complete problems 1-65 on pages You are encouraged to use the space provided. Dear Accelerated Pre-Calculus Student (017-018), I am excited to have you enrolled in our class for next year! We will learn a lot of material and do so in a fairly short amount of time. This class will

More information

Using Home Access Center. Attendance Month View Page. Calendar Page. Career Plan Page. Classwork Page. Course Requests Page.

Using Home Access Center. Attendance Month View Page. Calendar Page. Career Plan Page. Classwork Page. Course Requests Page. Using Home Access Center Home Access Center Menu View another student Attendance Month View Page Change months View attendance details Subscribe to attendance email alerts Calendar Page Customize calendar

More information

CSE 142, Spring 2009, Final Exam

CSE 142, Spring 2009, Final Exam CSE 142, Spring 2009, Final Exam Name: Section: Student ID #: TA: Rules: You have 110 minutes to complete this exam. You will receive a deduction if you keep working after the instructor calls for papers.

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu Cali, Colombia Summer 2012 Lección 03 Control Structures Agenda 1. Block Statements 2. Decision Statements 3. Loops 2 What are Control

More information

(A) 99 (B) 100 (C) 101 (D) 100 initial integers plus any additional integers required during program execution

(A) 99 (B) 100 (C) 101 (D) 100 initial integers plus any additional integers required during program execution Ch 5 Arrays Multiple Choice 01. An array is a (A) (B) (C) (D) data structure with one, or more, elements of the same type. data structure with LIFO access. data structure, which allows transfer between

More information

Monroe Township High School AP Computer Science A Summer Packet

Monroe Township High School AP Computer Science A Summer Packet Monroe Township High School AP Computer Science A Summer Packet Welcome to AP Computer Science A for the 2017-2018 School Year! This course emphasizes object-oriented programming methodology with a concentration

More information

WELCOME! (download slides and.py files and follow along!) LECTURE 1

WELCOME! (download slides and.py files and follow along!) LECTURE 1 WELCOME! (download slides and.py files and follow along!) 6.0001 LECTURE 1 6.0001 LECTURE 1 1 TODAY course info what is computation python basics mathematical operations python variables and types NOTE:

More information

Object Oriented Programming (OOP) is a style of programming that incorporates these 3 features: Encapsulation Polymorphism Class Interaction

Object Oriented Programming (OOP) is a style of programming that incorporates these 3 features: Encapsulation Polymorphism Class Interaction Object Oriented Programming (OOP) is a style of programming that incorporates these 3 features: Encapsulation Polymorphism Class Interaction Class Interaction There are 3 types of class interaction. One

More information

Computer Science II Lecture 1 Introduction and Background

Computer Science II Lecture 1 Introduction and Background Computer Science II Lecture 1 Introduction and Background Discussion of Syllabus Instructor, TAs, office hours Course web site, http://www.cs.rpi.edu/courses/fall04/cs2, will be up soon Course emphasis,

More information

Notre Dame High School. 220 Jefferson Street. Fairfield, CT June 2015

Notre Dame High School. 220 Jefferson Street. Fairfield, CT June 2015 Notre Dame High School 220 Jefferson Street Fairfield, CT 06825 June 2015 Dear Parent(s)/Guardian(s) and College Prep Geometry Students, Mathematics is the gateway to all college and career opportunities.

More information

Introduction to Computer Science with Python Course Syllabus

Introduction to Computer Science with Python Course Syllabus CodeHS Introduction to Computer Science with Python Course Syllabus Course Overview and Goals The CodeHS Introduction to Computer Science in Python course teaches the fundamentals of computer programming

More information

Home Access Center User Assistance

Home Access Center User Assistance User Assistance Using Home Access Center Home Access Center Menu View another student Attendance Month View Page Change months View attendance details Subscribe to attendance email alerts Calendar Page

More information

Teacher Leader Online Collaboration Site: Edmodo

Teacher Leader Online Collaboration Site: Edmodo Teacher Leader Online Collaboration Site: Edmodo Welcome, Louisiana Teacher Leaders. Quality education in Louisiana depends on us, so let s work together to improve student performance. We are thrilled

More information

3.2-Measures of Center

3.2-Measures of Center 3.2-Measures of Center Characteristics of Center: Measures of center, including mean, median, and mode are tools for analyzing data which reflect the value at the center or middle of a set of data. We

More information