




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CS111 FINAL EXAM QUESTIONBANK COMPLETE WITH ALL YOU NEED TO PASS 2024-2025 What does ASCII stand for? Select one: a. Algorithmic Sequence of Computer Integrated Information b. All Standards Complete Initialization Interface c. Aspiring Students Confused by Incoherent Incantations d. American Standard Code for Information Interchange CORRECT ANSWER: d. American Standard Code for Information Interchange The JavaScript code var x; is ________ the variable x. Select one: a. identifying b. declaring c. defining d. instantiating CORRECT ANSWER: b. declaring Many desktop applications, regardless of vendor, share basic features, such as a File menu and an Edit menu, and furthermore, the items within these menus include the same operations. A. True B. False CORRECT ANSWER: a
Typology: Exams
1 / 124
This page cannot be seen from the preview
Don't miss anything!
What does ASCII stand for? Select one: a. Algorithmic Sequence of Computer Integrated Information b. All Standards Complete Initialization Interface c. Aspiring Students Confused by Incoherent Incantations
Standard Code for Information Interchange The JavaScript code var x; is ________ the variable x. Select one: a. identifying b. declaring c. defining
Many desktop applications, regardless of vendor, share basic features, such as a File menu and an Edit menu, and furthermore, the items within these menus include the same operations. A. True
In the following code, the variable val is the function call's ____. def calc_square_area(size): area = size*size return area val = float(input('Enter size of square: ')) square_area = calc_square_area(val)
How many times does the while loop execute for the given input values of - 1, 4, 0, 9? user_num = 3 while user_num > 0: #Do something
Which term describes how Python assigns the type of a variable?
dynamic typing
definition
How many times will the print statement execute? for i in range(10): for j in range(3):
In Excel, which cell becomes active when you press the "Enter" key? a. The next cell down b. The next cell to the right c. The cell at the end of the current row
You can always write a program without using break or continue in a loop. Select one: a. true
What is the number of iterations in the following loop?for (int i = 1; i < n; i++) {// iteration} Select one: a. n b. 2 * n c. n + 1
The while loop and the do loop are equivalent in their expressive power; in other words, you can rewrite a while loop using a do loop, and vice versa. Select one: a. true
Which of the following loops produces the output? 1 2 3 4 1 2 3 1 2 1 (I)for (int i = 5; i > 0; i--) { for (int j = 1; j < i; j++) System.out.print(j + " "); System.out.println();} (II)for (int i = 1; i < 5; i++) { for (int j = 1; j < i; j++) System.out.print(j + " "); System.out.println();} (III)int i = 0;while (i < 5) { for (int j = 1; j < i; j++) System.out.print(j + " "); System.out.println(); i++; }(IV) int i = 5;
Suppose your method does not return any value, which of the following keywords can be used as a return type? Select one: a. int b. double c. void d. public
Methods can be declared in any order in a class. Select one: a. true
Which of the following is not an advantage of using methods? Select one: a. Using methods makes reusing code easier. b. Using methods hides detailed implementation from the clients. c. Using methods makes programs easier to read. d.
Each time a method is invoked, the system stores parameters and local variables in an area of memory, known as ________, which stores elements in last-in first-out fashion. Select one: a. storage area b. an array c. a heap
Java allows you to declare methods with the same name in a class. This is called ________. Select one: a. method redeclaration b. method overriding c. method duplication d.
What is the output? names = ['Bob', 'Jill', 'Xu'] ages = [24,18,33] for index in [2,0,1]:
Bob: Jill:
What is the missing function name so that the output is: Cairo New York Paris Sydney? cities = ['Sydney', 'Paris', 'New York', 'Cairo'] for c in _____(cities):
Variables defined in the method header are called ________. Select one: a. global variables b. local variables c. parameters
The signature of a method consists of ________. Select one: a. return type, method name, and parameter list b. parameter list c. method name and parameter list d.
Which range() function call generates every even number between 20 and 30 (including both 20
Relying on 0s and 1s in representing digital information results in a great disadvantage in creating reproductions. a. True
Which of the following statements best describes a one-to-many relationship between two tables? a. A primary key in the first table matches exactly one foreign key in the second table. b. A foreign key in the first table matches several primary keys in the second table. c. A primary key in the first table matches several foreign keys in the second table. d. Primary and foreign keys have multiple cross matches between a first and second table.
What is the output message produced in the alert box by the code
Instruction sequences that repeat are called: a. sorting b. loops c. assumptions
You can create or modify a table's field names and data types in ________ view.
A digitization guideline stating that the sampling frequency should exceed the signal frequency by at least two times is the: Select one: a. Sample Rate rule b. Analog-Digital rule c. Nyquist rule
Which input value causes "Goodbye" to be output next? x=int(input()) while x>=0:
x = int(input())
The PMT function Select one: a. calculates the periodic payment for a loan with a fixed interest rate and fixed term. b. returns the total number of payment periods for a loan or savings plan. c. tells whether an expression is a Permissible Mathematical Term in a certain context.
calculates the periodic payment for a loan with a fixed interest rate and fixed term. Because the Xerox's Alto was targeted at businesses, the metaphor the PARC researchers chose for the GUI was a desktop. Select one: True
The JavaScript code x = 1;
The PandA system: Select one: a. is binary b. is formed from 256 letter representations c. contains gray
Transistors helped advance computing because they complicated the assembly process. Select one: True
In a Web search, a match to a query is known as a(n): Select one: a. intersection b. hit c. URL list
The very last part of a URL is the: Select one: a. domain b. pathname c. protocol
Which of the following is not an operating system? Select one: a. Windows 7 b. Unix c. Linux d. Assembly
Following the introduction of Apple Macintosh and Microsoft Windows, the desktop metaphor became the universal way most people thought of using a computer. Select one: True
Describing a technical problem using the right words helps facilitate a speedy and helpful answer from tech support. Select one: True
You are reviewing a table you created in an Access database. As you review the table, you notice a column of cells that are supposed to contain sales figures have pound signs through them (#######). What is the cause of these pound signs? Select one: a. The pound signs are present because the column is not wide enough to display the data. b. The pound signs are present because the value of the fields are null. c. The pound signs are present because the data type used on the cells is incorrect.
the data.
The JavaScript code var x=1; is ________ the variable x. a. setting b. initializing c. evaluating
c. comparison
When the completion time of a computer operation can be predicted, applications typically show an hourglass icon. a. True
Spaces that have been inserted for readability are called: a. white space b. blanks c. tags
A Value (as it applies to Excel) a. is a number that represents a quantity and can be the basis of calculations. b. includes letters, numbers, and spaces. c. is a combination of cell references, operators, values, and/or functions used to perform calculations.
You can have an HTML element, such as a paragraph, change its background color whenever the user moves the cursor on top of that element. One way to do this is to add a Javascript function to that element's __________ property. a. onmouseover b. hover c. cursor
The Formula Bar (as it applies to Excel 2010) a. displays the name of a worksheet within a workbook. b. displays the content of the active cell. c. identifies the address of the current cell.
Digitized sound can be: a. "fixed" by removing offending noises b. computed to reduce the number bits c. reproduced exactly
Ribbon Commands with arrows indicate a. that you should hit "Enter" on the keyboard. b. a link to another worksheet. c. the next step in the process.
A function is a a. predefined formula that performs a calculation. b. activity performed by a worksheet. c. defined purpose for a set of cells or a group of formulas.
Communication between one sender and many receivers is called: a. broadcast communication b. client/server communication c. multicast communication
Joe is working in a database that stores client data. He needs to design a field that will assign a client ID number each time a user enters a new client. The data type he should apply to this field is: a. Text b. Memo c. Number
Which search technique will help avoid over constraining? a. Include a general topic term. b. Remove terms from the search using NOT. c. Add as many descriptive words as possible.
d Haptic devices: a. rapidly display still images as a way to fool our eyes and brain b. are used to keep out "spambots" c. are input/output technology for interacting with our sense of touch and feel
Perfect reproduction is a property of analog information. a. True
When we install a new app, we should immediately and intuitively perform two important activities: "clicking around" and "blazing away." a. True
A structure without any properties or content is: a. information b. an instance
The Basic Input/Output System (BIOS) is stored on a microchip called the: a. Boot ROM b. flash memory package c. ARM processor
What type of information comes from experts? a. information found in a library b. information found in Google's Advanced Search c. information on the Web
A relative cell reference a. indicates a cell's specific location and the reference does not change when you copy the formula. b. occurs when a formula directly or indirectly refers to the cell containing the formula. c. indicates a cells relative location from the cell containing the formula; the reference changes when you copy the formula.
Something can't be considered a computer unless it has a keyboard attached to it. a. True
In JavaScript, the statement terminator is a(n) ________. a. colon (:) b. comma (,) c. semi-colon (;)
Which of the following is not controlled by the operating system? a. Internet connection management b. memory management c. I/O devices management
Software is a collective term for programs; the instructions computers perform to implement applications. a. True
When determining the page layout, CSS considers every HTML5 element to be enclosed in a: a. page b. box c. body
The ________ tab holds all of the operations necessary to carry out data import and export. a. Home b. Database Tools c. External Data
Using only 0s and 1s means the information can be perfectly: a. reproduced b. consistent c. converted to a placeholder
By selecting the ________ option, you can make sure that data entered into the foreign key field of one table matcheѕ existing data in the primary key field of a related table. a. referential integrity b. required field c. common field
In software, a program that stops operating to avoid harm is called: a. fail-safe b. fault-tolerant c. bug-safe
Which of the following would be the best choice for a primary key? a. Social Security Number b. Street Address c. Last Name
Rebooting a computer means to: a. restart the computer b. run a program from the hard disk c. start the computer
Writing software is the job of programmers and software developers. a. True
A mixed cell reference a. contains both an absolute and a relative cell reference. b. contains neither absolute nor relative cell references. c. occurs when a formula directly or indirectly refers to the cell containing the formula.
Which GUI metaphor features file cabinets and wastebaskets as typical components? a. touch metaphor
b. downloading c. multicasting
In JavaScript, and other programming languages, a group of letters enclosed in double quotes is
When an operation is processing a series of inputs, the "completion count" gives the tally of the completed instances, or equivalently, the number remaining. a. True
A family of styling specifications with a common name is called a: a. text document b. class c. HTML document
To create a Web page with along with a description of their purpose, it would be best to use: a. an ordered list b. an unnumbered list c. a definitional list
A way in which product developers who create technologies minimize learning time is by creating controls that match our expectations, such as with sliders and dials. a. True
What does ASCII stand for? a. Algorithmic Sequence of Computer Integrated Information b. All Standards Complete Initialization Interface c. Aspiring Students Confused by Incoherent Incantations
In a directory hierarchy in a Web address, folder names are separated by a: a. slash (/) b. backslash () c. dot (.)
A weakness of Wikipedia is that: a. editing of content is highly restricted b. the content is not validated by experts c. it covers a limited number of topics
The ________ view in Access looks similar to an Excel Spreadsheet. a. Datasheet b. Form c. Report
Data from two or more tables can be connected by specifying a: a. query form. b. common field. c. primary key.
Using ROY G BIV to remember, in order, the colors of the rainbow as red, orange, yellow, green, blue, indigo, and violet is an example of a(n): a. mnemonic b. algorithm c. abstraction
The fill handle (as it applies to Excel 2010) a. performs the same action as pressing "enter." b. is a small black square at the bottom-right corner of a cell that facilitates fill operations. c. copies the contents of one worksheet to another.
Access differs from other Microsoft software because it: a. size of the data you can work with. b. number of people that can view the file at one time. c. type of formatting you can perform.
The HTML tag for bold text is: a. b.
Which field property type should be applied to fields that should not remain empty? a. Special b. Required c. Indexed
Which of the following would be used to display an ampersand on a Web page? a. & b. && c. <&>
The VLOOKUP function. a. references a cell located a given distance up or down in the current column. b. vertically aligns a cell according to a given style. c. returns the value of a given variable.
d The original version of ASCII used: a. 4-bit code b. 7-bit code c. 8-bit code
The logical test a. contains data for the basis of the lookup and data to be retrieved. b. gives a popup hint that your formula may not make any sense c. checks whether an expression evaluates to true or to false.
A related group of networked computers forms a: a. domain b. broadband c. DNS
A nanosecond is: a. 1/1,000,000,000th of a second b. 1/1,000th of a second c. 1/1,000,000th of a second
A Formula (as it applies to Excel 2010) is a. should be used in each column of a workbook. b. a number that represents a quantity and can be the basis of calculations. c. a built in function that returns a value d. a combination of cell references, operators, values, and/or functions used to perform
When choosing between Access and Excel, it is best to use Access in all of the following circumstances EXCEPT when: a. you are managing a large quantity of data. b. you require multiple tables to manage data. c. multiple users need to work with data simultaneously.
A field, or a combination of fields, that must have a unique value in a given table is a ________ for that table. a. foreign key b. primary key c. characteristic value
The New and Open commands are normally located on the: a. Edit menu b. Main menu c. File menu
The NPER a. is a "Not Permitted" Error b. is the number of possible arguments in a function c. is a "Number Past Expected Result" Error.
The order of precedence (as it applies to math operations in Excel) a. controls which rows and columns are processed first. b. controls the sequence in which Excel performs arithmetic operations. c. determines which worksheet will be displayed when Excel is opened.
Irene is working on a database that stores customer data and order information. The Customer Information Table holds customer information. A unique customer number serves as the primary key for this table. The Order Information Table holds order information. A unique order number serves as the primary key for this table. A customer only has one customer number but may have several order numbers. If Irene wants to establish a one-to-many relationship between the customer information table and the order information table, which of the following steps should she follow? a. Irene should include the primary key in the customer information table as a foreign key in the order information table. b. Irene should include the foreign key in the customer information table as a primary key in the order information table. c. Irene cannot establish a relationship between the two tables.
In a search engine, the index is built by the: a. query processor b. crawler c. indexer