CS 1100 Study Guide - Midterm Guide: Check Point, Newline

37 views7 pages
4 Nov 2016
School
Course
Professor

Document Summary

Cs 1100 exam 2 study guide fall 2016. Topics to study: study and know the material on the lecture slides. Also, the daily lecture review questions and practice sheets could be helpful in reviewing. Most of the questions on the concept portion of the exam will likely be multiple choice, ll in the blanks, and read the code. This is not a comprehensive list of material and questions that could appear on the exam. A. public class error1 { public static void main(string[] args){ int count = 0; while (count < 10); B. public class error2 public static void main(string[] args) for (int i = 0; i > 10; i++) Write a printf() statement to print an integer variable named i. Write a printf() statement to print a double variable named d with 2 decimal places. Write a printf() statement to print a boolean variable named b with a width of 6.