Friday, June 5, 2020

This is a practice quiz.

Quiz on Chapter One Created 12/12/98; revised 02/19/00

on Computer Systems

This is a practice quiz. The results are not recorded anywhere and do not affect your grade. The questions on this quiz might not appear in any quiz or test that does count toward your grade.
Instructions: For each question, choose the single best answer. Make your choice by clicking on its button. You can change your answers at any time. When the quiz is graded, the correct answers will appear in the box after each question.


1. What is the difference between hardware and software?
a.    Hardware is tangible, but software is intangible.
b.    Hardware is metal, software is plastic.
c.    Hardware is permanent, software is temporary.
d.    Hardware is reliable, software is unreliable.

2. What hardware components (of a typical desktop computer) are usually found inside of the systems unit?
a.    The processor, main memory, and monitor.
b.    The processor, main memory, and secondary memory
c.    First, second, and third memory.
d.    The keyboard, the disks, and the audio blaster.

3. Which component is the "brains" of a computer system?
a.    The main memory.
b.    The secondary memory.
c.    The processor chip.
d.    The power supply.

4. Which type of memory is most closely connected to the processor?
a.    Main memory.
b.    Secondary memory.
c.    Disk memory.
d.    Tape memory.

5. Where are programs and data kept while the processor is using them?
a.    Main memory
b.    Secondary memory
c.    Disk memory
d.    Program memory

6. What is an embedded system?
a.    A program that comes shink-wrapped in a box.
b.    A program that is permanently part of a computer.
c.    A computer that is part of a larger computer.
d.    A computer and software system that controls a machine or appliance.

7. How is it possible that both programs and data can be stored on the same floppy disk?
a.    A floppy disk has two sides, one for data and one for programs.
b.    Programs and data are both software, and both can be stored on any memory device.
c.    A floppy disk has to be formatted for one or for the other.
d.    Floppy disks can only store data, not programs.

8. What are the two general types of programs?
a.    Entertainment and Productivity.
b.    Wordprocessors and Databases.
c.    Microsoft and IBM.
d.    System software and Application software.

9. What is an operating system?
a.    The part of the hardware that operates input and output devices.
b.    The part of the hardware that operates the mouse and the windows on the monitor.
c.    Systems software that coordinates the hardware and software components of a computer system.
d.    A section of software that must be part of every program.

10. What is a computer network?
a.    Two or more computers connected together to exchange data and programs.
b.    A computer that can run many programs from its hard disk.
c.    A group of computers that share the same power supply.
d.    A computer that is used by many different human users.

The number you got right:       Percent Correct:       Letter Grade:   
Click here (If you have just returned here from another page, or have re-loaded this page, you will need to click again on each of your choices for the grading program to work correctly. You may want to press the "shift key" while clicking on reload to clear the old answers.)

Introduction to Computer Science using Java

Introduction to Computer Science using Java

Revised and Expanded, July 2003

Bradley Kjell, Central Connecticut State University

This is a first course in Computer Science using the programming language Java. It covers the fundamentals of programming and of computer science.
For maximum benefit, go though these notes interactively, thinking about and answering the question at the bottom of each page. There are about 15 pages per chapter. If you spend about 3 minutes per page each chapter will take about 45 minutes; much more, if you copy and run some of the programs. If you are a beginning programmer, plan on spending more than a month with this.
These notes assume that you have the Java Development Kit (JDK) version 1.3 or later from Sun (http://www.javasoft.com) and a text editor such as NotePad. They may be used with more sophisticated environments, as well. For more about these notes check the frequently asked questions.
Best viewed at 800 x 600

Part 1: Hardware and Software

General computer science topics. Hardware and software. Analog and binary signals. Machine language and high level languages. Language translation and interpretation.
 
 Chapter 1Introduction to Computer SystemsQuizFlash Cards.
 Chapter 2Analog and Binary SignalsQuizFlash Cards.
 Chapter 3Computer MemoryQuizFlash Cards.
 Chapter 4The ProcessorQuizFlash Cards.
     

Part 2: Running Java Programs

How to run Java programs. Translating Java source code into bytecodes. How bytecodes are interpreted. How to create a Java program.
 
 Chapter 5Introduction to JavaReview. 
 Chapter 6Small Java ProgramsReview. 
 Chapter 7How to Run the Example ProgramsReview. 
     

Part 3: Java Programming

How to program in Java.
 
 Chapter 8Primitive Data TypesQuizProgramming Exercises
    Flash Cards
 Chapter 9AVariables and the Assignment StatementQuizProgramming Exercises 
 Chapter 9BExpressions and Arithmetic OperatorsQuizProgramming Exercises 
 Chapter 10Input and OutputReviewProgramming Exercises 
 Chapter 11Floating Point InputReviewProgramming Exercises 
 Chapter 12The if StatementQuizProgramming Exercises 
 Chapter 13The Single Branch if StatementQuizProgramming Exercises 
 Chapter 14Boolean ExpressionsReviewProgramming Exercises 
 Chapter 15Loops and the while statementReviewProgramming Exercises 
 Chapter 16Counting LoopsQuizProgramming Exercises 
 Chapter 17Examples of Counting LoopsReviewProgramming Exercises 
 Chapter 18Sentinel-controlled LoopsReviewProgramming Exercises 
 Chapter 19Result-controlled LoopsQuizProgramming Exercises 
 Chapter 20Example Program -- Combination LockReviewProgramming Exercises 
 Chapter 21File Input and OutputReviewProgramming Exercises 
 Chapter 22Reading Data from a FileReviewProgramming Exercises 
 Chapter 23File Input Techniques Programming Exercises 
     

Part 4: Object Oriented Programming

Object Oriented programming. Software objects.
 
 Chapter 25 ObjectsQuiz 
 Chapter 26Object ReferencesQuiz 
 Chapter 27More about Objects and ClassesReview 
 Chapter 28Method ParametersReview 
 Chapter 29Strings and Object ReferencesQuizProgramming Exercises
 Chapter 30Defining your own ClassesReview    Programming Exercises
 Chapter 31Class Design Example (miles per gallon)ReviewProgramming Exercises
 Chapter 32Class Design Example (checking account)Review 
 Chapter 33Encapsulation and Visibility ModifiersQuizProgramming Exercises
 Chapter 34AParameters, Overloading, Local VariablesReview 
 Chapter 34BObject ParametersQuiz 
 Chapter 35Objects that Contain ObjectsReviewProgramming Exercises
     

Part 5: Applets and Graphics

 Chapter 36 AppletsQuiz    Programming Exercises
 Chapter 37 Applet ExamplesQuizProgramming Exercises
 Chapter 38 More Applet ExamplesQuizProgramming Exercises
 

Part 6: More Java Programming Features

Incrementing and decrementing variables. Convenient ways to create loops.
 
 Chapter 39 Increment, Decrement, and Assignment OperatorsQuiz     
 Chapter 40 Boolean Expressions and Short-circuit OperatorsReview     
 Chapter 41 The for StatementQuiz    Programming Exercises
 Chapter 42 More about the for StatementQuiz    Programming Exercises
 Chapter 43 The Conditional Operator, and the switch StatementQuiz    Programming Exercises
 Chapter 44 The do StatementQuiz    Programming Exercises
 Chapter 46 Introduction to ArraysQuiz    Programming Exercises
 Chapter 47 Common Array AlgorithmsQuiz    Programming Exercises
 Chapter 48 Arrays as ParametersReview     
 Chapter 49A Methods that Change ArraysQuiz     
 Chapter 49B Arrays of Objects and Linear SearchQuiz    Programming Exercises
 Chapter 49C Two-dimensional ArraysQuiz    Programming Exercises
 Chapter 49D StringBuffers and StringTokenizersQuiz    Programming Exercises
 

Part 7: Advanced Object Oriented Programming

Advanced features of object oriented programming.
 
 Chapter 50 Introduction to InheritanceQuiz     
 Chapter 51 Abstract Classes and PolymorphismQuiz     
 Chapter 52 More about PolymorphismQuiz     
 Chapter 53 InterfacesQuiz     
 Chapter 54 Vectors and EnumerationsQuiz     
 

Part 8: Graphical User Interface Programming

Graphical user interfaces. Project Swing and the Abstract Windowing Toolkit.
 
 Chapter 55 Introduction to GUI ProgrammingQuiz     
 Chapter 56 Swing FramesQuiz     
 Chapter 57 Event ListenersQuiz     
 Chapter 58 Adding Buttons to a FrameQuizProgramming Exercises
 Chapter 59Buttons and Action EventsQuiz    Programming Exercises    
 Chapter 60 Swing Text Fields and LabelsQuiz    Programming Exercises    
 Chapter 61 Components LayoutQuiz    Programming Exercises    
 Chapter 62 JPanel and BoxLayout  
 Chapter 63 Radio Buttons and BorderLayout Programming Exercises    
 Chapter 64 Sliders and Change Events Programming Exercises    
 

Part 9: Recursion

Recursion in problems, recursion in Java, recursion in graphics.
 
 Chapter 70 Introduction to RecursionQuiz     
 Chapter 71 Recursion in JavaQuiz    Programming Exercises
 Chapter 72 Examples of RecursionQuiz    Programming Exercises
 Chapter 73 More RecursionQuiz    Programming Exercises
 Chapter 74 Recursion with Graphics   Programming Exercises
 

Part 10: Exceptions and IO Streams

Exceptions. Disk file input and output.
 
 Chapter 80 Exceptions and ErrorsQuiz    Programming Exercises
 Chapter 81 More about ExceptionsQuiz    Programming Exercises
 Chapter 82 Input and Output StreamsQuiz       
 Chapter 83 Writing Text FilesQuiz    Programming Exercises
 Chapter 84 Reading Text FilesQuiz    Programming Exercises
 Chapter 85 Writing Binary FilesQuiz    Programming Exercises
 Chapter 86 Reading Binary FilesQuiz    Programming Exercises
 Chapter 87 The File ClassQuiz    Programming Exercises

Appendix

Index



Index of /~ledvina/vyuka/PSI/literatura

http://www.kiv.zcu.cz/~ledvina/vyuka/PSI/literatura/


Index of /~ledvina/vyuka/PSI/literatura

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory - 
[   ]0131408828_pdf.pdf2003-11-07 14:105.9M 
[DIR]Bourne_Shell_Quick_Reference_Guide/1999-12-02 14:48- 
[DIR]C_Shell_Quick_Reference_Guide/1999-12-02 14:50- 
[   ]Introduction_to_Unix.pdf2002-12-20 17:00419K 
[DIR]The_Korn_Shell_Quick_Reference_Guide/1999-12-02 14:48- 
[   ]WebApplicationsDevelopmentWithPHP4.0(EBook).pdf2002-12-20 17:236.3M 
[   ]basic_unix.pdf2001-10-01 09:5397K 
[   ]bgnet.pdf2003-06-19 12:11298K 
[   ]emacs.pdf2001-10-01 10:411.4M 
[   ]javanotes.zip2004-02-10 08:165.4M 
[DIR]javanotes/2006-03-31 09:15- 
[   ]javanotes4.zip2004-02-10 13:431.8M 
[DIR]javanotes4/2002-07-16 12:55- 
[   ]latex.pdf2003-01-13 16:111.1M 
[   ]layman.pdf2003-02-18 13:19106K 
[   ]onc.pdf1999-11-18 13:58699K 
[   ]reader1.pdf2004-02-18 12:56169K 
[   ]scc751sg.pdf2004-02-18 12:561.0M 
[   ]sockets_tutorial.ps2003-01-27 13:3399K 
[   ]tcp-ip-tut.pdf2006-03-31 08:5012M 
[   ]tcp-ip-tut.zip2006-03-31 11:205.3M 
[   ]threads.pdf1999-10-13 18:12705K 
[   ]webminguide.pdf2006-03-31 09:032.2M 
[   ]webminguide_old.pdf2002-11-22 10:112.5M 
[   ]web programming unleashed.pdf2002-12-20 17:296.8M 

Apache/2.4.38 (Debian) SVN/1.10.4 PHP/5.6.33-0+deb8u1 OpenSSL/1.1.1c WebAuth/4.7.0 WebKDC/4.7.0 Server at www.kiv.zcu.cz Port 80

Programming Book

http://index-of.es/Linux/Ebook-Pdf/