Topics for Today Announcements Thursday Extra 4:00 in CS Commons - - PowerPoint PPT Presentation

topics for today announcements thursday extra 4 00 in cs
SMART_READER_LITE
LIVE PREVIEW

Topics for Today Announcements Thursday Extra 4:00 in CS Commons - - PowerPoint PPT Presentation

Topics for Today Announcements Thursday Extra 4:00 in CS Commons Next week: on Tuesday !!! Prof. Steve Huss-Lederman, Beloit College: Open Energy Dashboard (open source project for monitoring energy resources via Web) Mentor sessions


slide-1
SLIDE 1

Topics for Today Announcements Thursday Extra 4:00 in CS Commons Next week: on Tuesday!!!

  • Prof. Steve Huss-Lederman, Beloit College:

Open Energy Dashboard (open source project for monitoring energy resources via Web) Mentor sessions (evolving) eSpeak:

  • once in a while, may hear extra sounds
  • typically, when short line follows a long line
  • possible solution: add spaces to short line

Reminder: Supplemental Problem 1 due next Friday Conditional Statements Questions Clicker questions

slide-2
SLIDE 2

What can you say about Question 1 on Quiz 2?

  • A. The question is a [slightly edited] version of Step 12 on the

lab, "Using the Scribbler 2 and Basic Input"

  • B. The question uses ideas from last Friday's lab regarding

basic input and using the Scribbler robot to beep notes

  • C. The question stated the streamlined text of documentation

for the rBeep command, as described in MyroC documentation

  • D. All of the above
  • E. None of the above
slide-3
SLIDE 3

What is printed by the following code segment? int a = 2; int b = 4; if ( a == 4) printf ("yes "); else printf ("no "); if ( a = 3 ) printf("%d ", a); if ( b ) printf("%d ", b);

  • A. yes 2 4

  • B. no 3 4

  • C. yes 4

  • D. no 4

  • E. None of the above
slide-4
SLIDE 4

What is printed by the following code segment? int a = 2; if ( a == 4 ) printf ("yes "); else printf ("no "); if ( a = 3 ) printf("one "); if ( a == 3 ) printf("two ");

  • A. yes one two

  • B. no one two

  • C. yes 

  • D. no

  • E. None of the above
slide-5
SLIDE 5

int c = 3;

switch (c) { case 3: printf("Matey! "); case 7: printf("Time. "); default: printf("Walk the plank!"); }

  • A. Matey!
  • B. Matey! Time. Walk the plank!
  • C. Matey! Walk the plank!
  • D. Does not compile
  • E. None of the above

What is printed by the following code segment?