CSI Chapter 14 + Chapter 15 + PP Chapter 11
Which of the following is a suite of protocols and programs that support low-level network communication?
TCP/IP
What is the output from this fragment? myList=[1,"two","iii",4] myList[2]="one" print myList
[1,"two", "one", 4]
Which of the following is a game genre or a game subgenre?
action games, strategy games, life-simulation games, role-playing games. NOT - console games
The method that adds a single item to the end of a list is
append
Which of the following describes a set of high-speed networks that carry Internet traffic, sponsored by companies such as AT&T and Verizon?
backbone
Which of the following terms is synonymous with the term data transfer rate?
bandwidth
In which of the following LAN configurations do all nodes share a single communication line that carries messages in both directions?
bus topology
What is the missing line from this fragment of code designed to accumulate a list of positive numbers entered by a user into a list? nums = [] x = input("Enter a number: ") while x > 0: # missing line x = input("Enter a nmber: ")
counts[w] = counts[w]+1
Suppose that words is a list of words (strings). The following code is supposed to count the number of occurrences of each word. What is the missing line? counts={} for w in words: #missing line
counts[w].add(1)
Which of the following best describes a model that represents interacting objects?
discrete-event
A comparison function returns either True or False.
false
A list must contain at least one item
false
Arrays are usually heterogeneous, but lists are homogeneous.
false
True or False? A file's MIME type indicates the format of files that are attached to email messages.
false
True or False? A firewall is a barrier that protects network equipment from physical damage.
false
True or False? A fractal model uses a base shape of a rectangle to model terrain.
false
True or False? A network's topology determines how many file servers need to be installed in the network.
false
True or False? A ring topology is a LAN configuration in which a central node controls all message traffic.
false
True or False? A simulation of a simple system is more useful than a simulation of a complex system.
false
True or False? A star topology is a LAN configuration in which all nodes are connected in a closed loop.
false
True or False? A top-level domain uniquely identifies a particular computer among all others on the Internet.
false
True or False? For national security, the U.S. government enforces a national access control policy for Internet traffic.
false
True or False? Liquids, clouds, smoke, and fire are easy to represent in a graphics application due to the way they reflect light.
false
True or False? Network packets contain instructions regarding the route they should travel to reach their destination.
false
True or False? Running a simulation once is usually sufficient to provide insightful results.
false
True or False? The respective speed of downloads and uploads will always be the same for DSL and cable modems.
false
Unlike strings, Python lists are not mutable.
false
What is the missing line from the following fragment of code designed to add up the numbers in a list? sum = 0 # missing line sum = sum + x
for x in nums:
Which of the following is not a Python list method?
get
Which of the following provides a way to uniquely identify a single computer among all others on the Internet?
hostname
The operation to select a single item from a list is
indexing
Python lists are different from arrays found in other languages because
lists grow and shrink as needed
Which of the following is a device for converting an analog signal to a digital signal and back again?
modem
Which of the following is a generic term used for any device on a network?
node
What is the missing line from this fragment of code designed to accumulate a list of positive numbers entered by a user into a list? nums = [] x = input("Enter a number: ") while x > 0: # missing line x = input("Enter a number: ")
nums.append(x)
Which of the following describes the process of dividing a message into small pieces and sending those pieces separately to the destination?
packet switching
Which of the following LAN configurations connects all nodes in a closed loop?
ring topology
Which of the following is a network device that directs a packet toward its final destination?
router
Which of the following is not a dictionary method?
sort
Which of the following is not a built-in sequence operation in Python?
sorting
All of the following are functionalities of the tools provided by a game engine
sound generating component, physics engine, AI algorithms, graphics rendering engine. NOT - secure user login scripts
In which of the following LAN configurations is there a center node to which all others are connected?
star topology
All of the following are true about cloud computing
to access an organization's private clouds, one has to be affiliated with that organization, community clouds are shared among organizations with the same needs, hybrid clouds are some combination of the others. NOT - public clouds are free to subscribe
Which of the following indicates the general type of an organization or a country of origin?
top-level domain
A tuple is similar to a immutable list.
true
Items can be removed from a list with the del operator.
true
True or False? A bus topology is a LAN configuration in which all nodes share a common line.
true
True or False? A computer's IP address is represented by eight hexadecimal digits.
true
True or False? A hostname uniquely identifies a particular computer among all others on the Internet.
true
True or False? A local-area network (LAN) connects a small number of nodes in a building or close geographic area.
true
True or False? A system is a group of objects that interact in some way.
true
True or False? Computer networks may be connected without the use of physical wires
true
True or False? Contemporary operation of networking technology is possible only through the usage of open-use technology and layering approaches such as the Open Systems Interconnection (OSI) Reference Model.
true
True or False? Data transfer rate is the speed with which data is moved from one place on the network to another.
true
True or False? Erosion models can be used to place streams in a landscape and form the terrain around them.
true
True or False? In a computer simulation, a random-number generator can be used to introduce chance events.
true
True or False? Printers can be connected directly to a computer network.
true
True or False? Some newer top-level domains include .biz, .name, and .museum.
true
True or False? Standing in line to ride a roller coaster is an example of a queuing system.
true
True or False? The Internet backbone is a set of high-capacity, high-speed networks that carry Internet traffic.
true
True or False? The most common application of computer graphics in modern operating systems is the graphical user interface.
true
True or False? The target game platform largely determines which application programming interfaces (APIs) and libraries to use.
true
All of the following are examples of continuous simulation
weather forecasting, hurricane tracking, gas exploration. NOT - stock portfolio modeling