14_CST8110_Review.pdf

14_CST8110_Review.pdf - CST8110 INTRODUCTION TO PROGRAMMING...

  • No School
  • AA 1
  • 25

This preview shows page 1 - 7 out of 25 pages.

CST8110 INTRODUCTION TO PROGRAMMING Week 14 Review
Image of page 1

Subscribe to view the full document.

Exam Format This is an assigned seat exam (This year section basis) 25-30 Questions 21-25 Multiple Choice 5 - 9 Long/Short Answer MUCH LIKE MIDTERM AND QUIZZES YOU MAY BRING AN 8.5x11 SHEET of paper with handwritten notes on two sides . Your name should be on it, and you will attach it to your final exam when you submit it. BRING YOUR STUDENT ID TO ALL EXAMS! Worth 30 % of final grade
Image of page 2
How to study? Review class notes posted on Brightspace (and your own notes) Review labs, assignments, hybrid exercises, quizzes. Review relevant sections of text book (Chapters 1 to 7)
Image of page 3

Subscribe to view the full document.

Topics (Contd.) Variables and datatypes in Java Primitive data types – their relative size in bytes • double, float, byte, short, int, char, boolean, char. • String data type • How to declare • Legal variable names Assignment statement in Java Order of operations • Special operators %, ++, -- (pre/post operators), +=, -=, *=, /=, %= • Rules about data types in mathematical statements. Output in Java System.out.print( …), System.out.println( …), System.out.printf() Input in Java Using Scanner class • Using nextFloat( ), nextDouble( ), nextInt( ), next( ), nextLine()
Image of page 4
Topics (Contd.) if statement • Logic of how if statement works • Syntax (especially ( ) around boolean expression, { } around blocks) • Operators >, <, ==, >=, <=, !=, || (OR), && (AND) while loop Logic of how while statement works • Syntax (especially ( ) around boolean expression, { } around block) • Using a counter to control number of repetitions
Image of page 5

Subscribe to view the full document.

Topics (Contd.)
Image of page 6
Image of page 7
  • Fall '19
  • Test, Subroutine

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern