Siena College Computer Science Outreach Project
Introduction
This project shares lectures and activities with students at two-year colleges. Our goal is to help prepare students for four year colleges and to learn more about students taking Computer Science courses at two-year colleges.
Please help us by
- Filling out a pre-activity survey,
- Watching the video below, and
- Completing a quiz,
activity and final survey in your computer science class.
Pre-activity Survey
Please complete this survey before watching the video below.
Click Here To Complete the SurveyLecture: Java Mathematical Expressions
The 15 minute video below is a lecture in an Intro to Java Programming course at Siena College. Below are sample questions similar to the ones we might ask on a quiz or test. The video below answers all these questions as well as the ones you will be asked in your class. The code presented in the video is linked below the video.
Questions
- What is the output of this statement?
System.out.println( 11 / 5 );
- What is the output of this statement?
System.out.println( 17 / 3 );
- In Java, what does the % operator return?
- What is the output of this statement?
System.out.println( 12 % 5 );
- In Java, how could you write this expression using one method call?
double volume = side * side * side
- What is the output of this statement?
System.out.println( Math.sqrt(25) );
Video
Resources
Quiz, Activity & Final Survey
Will be given in class.