Deck 1: Introduction to Computers and Java

ملء الشاشة (f)
exit full mode
سؤال
Software refers to

A) programs
B) the physical components a computer is made of
C) firmware
D) data stored in RAM
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
A solid-state drive has no moving parts and operates faster than a traditional disk drive.
سؤال
While __________ is centered on creating procedures, __________ is centered on creating objects.

A) procedural programming, object-oriented programming
B) object-oriented programming, procedural programming
C) routine programming, method programming
D) procedural programming, class programming
سؤال
Java source files end with the .class extension.
سؤال
Application software refers to programs that make the computer useful to the user.
سؤال
Java source files end with the .class extension.
سؤال
When an object's internal data is hidden from outside code and access to that data is retricted to the object's methods, the data is protected from accidental corruption.
سؤال
The two primary methods of programming in use today are

A) procedural and object-oriented
B) hardware and software
C) practical and theoretical
D) desktop and mobile
سؤال
Encapsulation refers to the combining of data and code into a single object.
سؤال
A procedure is a set of programming language statements that, together, perform a specific task.
سؤال
Without programmers, the users of computers would have no software, and, without software, computers would not be able to do anything.
سؤال
Compiled byte code is also called source code.
سؤال
Each byte is assigned a unique number known as an address.
سؤال
Logical errors are mistakes that cause the program to produce erroneous results.
سؤال
The computer is a tool used by so many professionals that it cannot be easily categorized.
سؤال
Validating the results of a program is important to

A) correct runtime errors
B) make sure the program solves the original problem
C) create a model of the program
D) correct syntax error
سؤال
The Java Virtual Machine is a program that reads Java byte code instructions and executes them as they are read.
سؤال
RAM is usually

A) an input/output device
B) a volatile type of memory, used for temporary storage
C) secondary storage
D) a static type of memory, used for permanent storage
سؤال
Colons are used to indicate the end of a Java statement.
سؤال
The contents of a variable cannot be changed while the program is running.
سؤال
__________ refers to the physical components that a computer is made of.

A) The device
B) Hardware
C) Software
D) The system
سؤال
A(n) __________ is a software entity that contains data and procedures.

A) object
B) program
C) class
D) method
سؤال
Variables are

A) symbolic names made up by the programmer and once created, their values cannot be changed
B) operators that perform operations on one or more operands
C) symbolic names made up by the programmer that represent memory locations
D) reserved words
سؤال
What is syntax?

A) the rules that must be followed when writing a program
B) the words that have a special meaning in the programming language
C) the symbols or words that perform operations in a program
D) the words or characters that are defined by the programmer
سؤال
Key words are

A) symbols or words that perform operations on one or more operands
B) words or characters representing values that are defined by the programmer
C) the data names in your program
D) words that have a special meaning in the programming language
سؤال
Application software refers to

A) the programs that make the computer useful to the user
B) the operating system
C) key words
D) pseudocode
سؤال
There are __________ bits in a byte.

A) 4
B) 8
C) 16
D) 32
سؤال
A characteristic of __________ is that only an object's methods are able to directly access and make changes to an object's data.

A) classes
B) procedures
C) data hiding
D) component reusability
سؤال
A runtime error is usually the result of

A) a logical error
B) a syntax error
C) a compiler error
D) bad data
سؤال
A(n) __________ is used to write computer programs.

A) pseudocode document
B) operating system
C) application
D) programming language
سؤال
One type of design tool used by programmers when creating a model of a program is

A) the ALU
B) byte code
C) syntax
D) pseudocode
سؤال
A set of programming language statements that perform a specific task is a(n)

A) pseudocode chart
B) source code
C) object
D) procedure
سؤال
The end of a Java statement is indicated by a ________.

A) bracket (})
B) asterisk (*)
C) semicolon (;)
D) colon (:)
سؤال
Because Java byte code is the same on all computers, compiled Java programs

A) are nonexistent
B) must be re-compiled for each different machine before they can be run
C) are highly portable
D) cannot run on computers with different operating systems
سؤال
An object typically hides its data but allows outside code access to

A) the pseudocode
B) the methods that operate on the data
C) private data members
D) the data files
سؤال
__________ refers to the physical components that a computer is made of.

A) Input
B) Main memory
C) Control unit
D) Hardware
سؤال
A cross between human language and a programming language is called

A) a compiler
B) pseudocode
C) the Java Virtual Machine
D) the Java language
سؤال
The central processing unit (CPU) consists of two parts which are

A) the input and output devices
B) the control unit and the arithmetic and logic unit (ALU)
C) the control unit and main memory
D) the arithmetic and logic unit (ALU) and main memory
سؤال
Computers can do many different jobs because they are

A) programmable
B) reliable
C) automated
D) electronic
سؤال
Byte code instructions are

A) machine code instructions
B) syntax errors
C) read and interpreted by the JVM
D) another name for source code
سؤال
Which of the following will run the compiled program called ReadIt?

A) java ReadIt.java
B) java ReadIt
C) run ReadIt
D) go ReadIt
سؤال
The original name for Java was

A) JavaScript
B) HotJava
C) Elm
D) Oak
سؤال
A computer program is

A) the same as main memory
B) only used for desktop computers
C) a set of instructions that allow the computer to solve a problem or perform a task
D) another name for an operating system
سؤال
Each different type of CPU has its own

A) syntax
B) firmware
C) machine language
D) software
سؤال
Which of the following is a software entity that contains data and procedures?

A) a method
B) an object
C) a class
D) a program
سؤال
Which of the following will compile a program called ReadIt?

A) java ReadIt.java
B) java ReadIt.javac
C) javac ReadIt.java
D) javac ReadIt.javac
سؤال
Java was developed by

A) Microsoft
B) IBM
C) Sun Microsystems
D) Hewlett-Packard
سؤال
Byte code instructions are

A) another name for source code
B) syntax errors
C) machine code instructions
D) read and interpreted by the JVM
سؤال
Which of the following is not part of the programming process?

A) defining and modeling the problem
B) entering code and compiling it
C) testing and debugging
D) All of these are parts of the programming process
سؤال
Computer programming is

A) an art
B) a science
C) both of the above
D) neither of the above
سؤال
Internally, the central processing unit (CPU) consists of two parts which are __________

A) the control unit and the arithmetic/logic unit (ALU)
B) the control unit and main memory
C) the arithmetic/logic unit (ALU) and main memory
D) the input and output devices
سؤال
Which of the following is not one of the major components of a typical computer system?

A) the CPU
B) input/output devices
C) main memory
D) secondary storage devices
E) All of the above are major components
سؤال
A program is a sequence of instructions stored in

A) the CPU
B) the computer's memory
C) software
D) firmware
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/53
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: Introduction to Computers and Java
1
Software refers to

A) programs
B) the physical components a computer is made of
C) firmware
D) data stored in RAM
A
2
A solid-state drive has no moving parts and operates faster than a traditional disk drive.
True
3
While __________ is centered on creating procedures, __________ is centered on creating objects.

A) procedural programming, object-oriented programming
B) object-oriented programming, procedural programming
C) routine programming, method programming
D) procedural programming, class programming
A
4
Java source files end with the .class extension.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
5
Application software refers to programs that make the computer useful to the user.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
6
Java source files end with the .class extension.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
7
When an object's internal data is hidden from outside code and access to that data is retricted to the object's methods, the data is protected from accidental corruption.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
8
The two primary methods of programming in use today are

A) procedural and object-oriented
B) hardware and software
C) practical and theoretical
D) desktop and mobile
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
9
Encapsulation refers to the combining of data and code into a single object.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
10
A procedure is a set of programming language statements that, together, perform a specific task.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
11
Without programmers, the users of computers would have no software, and, without software, computers would not be able to do anything.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
12
Compiled byte code is also called source code.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
13
Each byte is assigned a unique number known as an address.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
14
Logical errors are mistakes that cause the program to produce erroneous results.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
15
The computer is a tool used by so many professionals that it cannot be easily categorized.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
16
Validating the results of a program is important to

A) correct runtime errors
B) make sure the program solves the original problem
C) create a model of the program
D) correct syntax error
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
17
The Java Virtual Machine is a program that reads Java byte code instructions and executes them as they are read.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
18
RAM is usually

A) an input/output device
B) a volatile type of memory, used for temporary storage
C) secondary storage
D) a static type of memory, used for permanent storage
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
19
Colons are used to indicate the end of a Java statement.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
20
The contents of a variable cannot be changed while the program is running.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
21
__________ refers to the physical components that a computer is made of.

A) The device
B) Hardware
C) Software
D) The system
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
22
A(n) __________ is a software entity that contains data and procedures.

A) object
B) program
C) class
D) method
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
23
Variables are

A) symbolic names made up by the programmer and once created, their values cannot be changed
B) operators that perform operations on one or more operands
C) symbolic names made up by the programmer that represent memory locations
D) reserved words
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
24
What is syntax?

A) the rules that must be followed when writing a program
B) the words that have a special meaning in the programming language
C) the symbols or words that perform operations in a program
D) the words or characters that are defined by the programmer
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
25
Key words are

A) symbols or words that perform operations on one or more operands
B) words or characters representing values that are defined by the programmer
C) the data names in your program
D) words that have a special meaning in the programming language
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
26
Application software refers to

A) the programs that make the computer useful to the user
B) the operating system
C) key words
D) pseudocode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
27
There are __________ bits in a byte.

A) 4
B) 8
C) 16
D) 32
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
28
A characteristic of __________ is that only an object's methods are able to directly access and make changes to an object's data.

A) classes
B) procedures
C) data hiding
D) component reusability
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
29
A runtime error is usually the result of

A) a logical error
B) a syntax error
C) a compiler error
D) bad data
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
30
A(n) __________ is used to write computer programs.

A) pseudocode document
B) operating system
C) application
D) programming language
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
31
One type of design tool used by programmers when creating a model of a program is

A) the ALU
B) byte code
C) syntax
D) pseudocode
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
32
A set of programming language statements that perform a specific task is a(n)

A) pseudocode chart
B) source code
C) object
D) procedure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
33
The end of a Java statement is indicated by a ________.

A) bracket (})
B) asterisk (*)
C) semicolon (;)
D) colon (:)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
34
Because Java byte code is the same on all computers, compiled Java programs

A) are nonexistent
B) must be re-compiled for each different machine before they can be run
C) are highly portable
D) cannot run on computers with different operating systems
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
35
An object typically hides its data but allows outside code access to

A) the pseudocode
B) the methods that operate on the data
C) private data members
D) the data files
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
36
__________ refers to the physical components that a computer is made of.

A) Input
B) Main memory
C) Control unit
D) Hardware
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
37
A cross between human language and a programming language is called

A) a compiler
B) pseudocode
C) the Java Virtual Machine
D) the Java language
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
38
The central processing unit (CPU) consists of two parts which are

A) the input and output devices
B) the control unit and the arithmetic and logic unit (ALU)
C) the control unit and main memory
D) the arithmetic and logic unit (ALU) and main memory
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
39
Computers can do many different jobs because they are

A) programmable
B) reliable
C) automated
D) electronic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
40
Byte code instructions are

A) machine code instructions
B) syntax errors
C) read and interpreted by the JVM
D) another name for source code
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
41
Which of the following will run the compiled program called ReadIt?

A) java ReadIt.java
B) java ReadIt
C) run ReadIt
D) go ReadIt
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
42
The original name for Java was

A) JavaScript
B) HotJava
C) Elm
D) Oak
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
43
A computer program is

A) the same as main memory
B) only used for desktop computers
C) a set of instructions that allow the computer to solve a problem or perform a task
D) another name for an operating system
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
44
Each different type of CPU has its own

A) syntax
B) firmware
C) machine language
D) software
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
45
Which of the following is a software entity that contains data and procedures?

A) a method
B) an object
C) a class
D) a program
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
46
Which of the following will compile a program called ReadIt?

A) java ReadIt.java
B) java ReadIt.javac
C) javac ReadIt.java
D) javac ReadIt.javac
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
47
Java was developed by

A) Microsoft
B) IBM
C) Sun Microsystems
D) Hewlett-Packard
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
48
Byte code instructions are

A) another name for source code
B) syntax errors
C) machine code instructions
D) read and interpreted by the JVM
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
49
Which of the following is not part of the programming process?

A) defining and modeling the problem
B) entering code and compiling it
C) testing and debugging
D) All of these are parts of the programming process
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
50
Computer programming is

A) an art
B) a science
C) both of the above
D) neither of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
51
Internally, the central processing unit (CPU) consists of two parts which are __________

A) the control unit and the arithmetic/logic unit (ALU)
B) the control unit and main memory
C) the arithmetic/logic unit (ALU) and main memory
D) the input and output devices
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
52
Which of the following is not one of the major components of a typical computer system?

A) the CPU
B) input/output devices
C) main memory
D) secondary storage devices
E) All of the above are major components
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
53
A program is a sequence of instructions stored in

A) the CPU
B) the computer's memory
C) software
D) firmware
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 53 في هذه المجموعة.