Midterm 1 Study Guide

Midterm 1 Study Guide - Midterm 1 Study Guide Look over the...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Look over the Practice Exam at the top of our Announcement page for weeks 1-4. Read the Comments carefully so that you understand WHY. Look over your BBWS 1-4. Go to Blackboard -> Tools -> My Grades and click on a Blackboard quiz score to view the actual quiz. Look over your code for PT1 and PT2 Look over the notes I post each day. Try some of the method writing on JavaBat: WarmUp-1, Logic-1, and String-1 65% of the midterm is theory (multiple choice) 35% of the midterm is writing simple methods or single lines of code. What is bytecode? What executes bytecode? Bytecode is what Eclypse turns the source code to and puts it in a .class file. JVM java virtual machine executes it, and sends it to the cpu A Java compiler turns a file ending in .java into a file ending in .class . What are the Java primitives? Char, Boolean, byte, short, int, long, float, double Can you declare and initialize all of the Java primitives? Char b = ‘f’; Boolean b = true; Is an int an object? no Is a boolean an object? no Can a primitive run methods? Or can it just use operators such as +, - *, /, % Is a String an object? yes Is Java case sensitive? yes Where is your source code--in Car.java or Car.class? .java Where is your byte code--in Car.java or Car.class? .class Which one runs in a browser--a Java applet or a Java application? Applet
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Midterm 1 Study Guide - Midterm 1 Study Guide Look over the...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online