Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

COSC 235 Quiz 1, Fall 2008 by David A. Sykes - Prof. David A. Sykes, Quizzes of Computer Science

The fall 2008 quiz 1 for cosc 235 computer science course taught by david a. Sykes. The quiz includes multiple-choice questions covering topics such as computer science fundamentals, computer hardware, programming, and programming concepts. Students are required to fill in their name and pledge before starting the quiz.

Typology: Quizzes

Pre 2010

Uploaded on 08/19/2009

koofers-user-df9
koofers-user-df9 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
COSC 235, Fall 2008 David A. Sykes
Name: _____________________________ Pledged: _____________________________
Quiz 1
Se pte mbe r 5 , 2 008
1. Computer science is the study of _____________________________________________.
2. A ________ is the “brains” of a computer that can only address data stored in memory.
3. An ____________________ is a step-by-step set of instructions for doing something.
4. A variable is a name associated with a value [circle one]. TRUE FALSE
5. The Traveling Salesman Problem is an example of an __________________ problem.
6. For a language, syntax is associated with _______________________ while semantics is
associated with _______________________.
7. Show the output of the program.
print "Programming is fun!"
print "Much of the time..."
8. Show the output of the program.
for k in range(3):
print "going,"
print "gone!"
9. Write a Python program to prompt a user for a number and then display the square of that
number..

Partial preview of the text

Download COSC 235 Quiz 1, Fall 2008 by David A. Sykes - Prof. David A. Sykes and more Quizzes Computer Science in PDF only on Docsity!

COSC 235, Fall 2008 David A. Sykes

Name: _____________________________ Pledged: _____________________________

Quiz 1

September 5, 2008

  1. Computer science is the study of _____________________________________________.
  2. A ________ is the “brains” of a computer that can only address data stored in memory.
  3. An ____________________ is a step-by-step set of instructions for doing something.
  4. A variable is a name associated with a value [circle one]. TRUE FALSE
  5. The Traveling Salesman Problem is an example of an __________________ problem.
  6. For a language, syntax is associated with _______________________ while semantics is associated with _______________________.
  7. Show the output of the program. print "Programming is fun!" print "Much of the time..."
  8. Show the output of the program. for k in range(3): print "going," print "gone!"
  9. Write a Python program to prompt a user for a number and then display the square of thatnumber..