CSCI final Flashcards
A precise, systematic method for producing a specified result is a(n):
- abacus
- algorithm
- computation
- agent
algorithm
An algorithm written in a specific programming language
- language algorithm
- program
- digital media
- byte code
program
Cloud storage is:
- storage in air, not physical medium
- approximate storage
- storage accessed via the internet
- artificial storage
storage accessed via the internet
Macintosh computers…
- are made by multiple vendors
- run the Windows operating system
- both a & b
- are made by Apple
are made by Apple
Which are example(s) of operating system(s)?
- Linux
- Windows
- MacOS
- all of the above
all of the above
A computer is
- A machine capable of making many decisions
- instructions that tell the processor what to do
- an electronic device that manipulates data
- systematic methods that produce a specific result
an electronic device that manipulates data
Data on a computer is represented as
- pixels
- characters
- 1’s and 0’s
- icons
1’s and 0’s
The forerunner of the interent
- ARPANet
- WWW
- Ethernet
- LAN
ARPANet
The protocol developed that allowed the internet to be used as an online center for information that everyone could access
- RISC
- ARM
- browser
- http
http
The first serious personal computer with a graphical user interface was
- iMac
- the alto
- Mosaic
- megatron
the alto
The first electronic computer, the ENIAC, was developed in 1946 and
- was as large as a small house and much more powerful than our current personal computers.
- was as large as a small house and not nearly as powerful as our current personal computers.
- was a small machine that resembled a calculator and performed only mathematical computations.
- was a small machine that resembled a calculator and had most of the capabilities of our current personal computers.
was as large as a small house and not nearly as powerful as our current personal computers
a type of computer that specializes in storage of large amounts of data
- tablet
- laptop
- virtual
- server
server
Which of computing’s ‘Greatest Hits’ brought about Kindles, GPS systems and ITunes.
- digitizing data
- world wide web
- layered software
- the Eniac
digitalizing data
Tablets, smart phones, electronic appliances, anti-lock brakes, and MP3 players all contain what type of processor?
- plastic
- instructional
- Dell
-ARM
ARM
Computer programs could also be called
- hard disk
- memory
- software
- hardware
software
The source for most of our daily information
- radio
- satellite
- cable news
- World Wide Web
World Wide Web
An advancement in software development that made programs easier to understand and maintain
- layered software development
- object oriented model
- high level languages
- compilers
layered software development
Which of the following is true?
- computers have gotten bigger
- computers now operate on more than just numbers
- computers have become more reliable
- all of the above
computers have become more reliable
Everyone wanted an Alto in their home when it came out.
T or F?
False
The command line interface found on computers before the 80’s was easy to use which made everyone want a computer in their home.
T or F?
False
The mouse-based graphical user interface was invented by
- Steve Jobs
- Xerox engineers
- Bill Gates
- Herman Hollerith
Xerox engineers
The personal computers market in the 1980’s was dominated by
- IBM PC’s
- Laptops
- Apple MacIntosh
- tablets
IBM PC’s
Steve Jobs invented the Graphical User Interface in 1979.
T or F?
False
assembled in a process know as photolithography
- Integrated circuits
- vacuum tubes
- punch cards
- CRTs
integrated circuits
_____ was largely responsible for the internet becoming a resource of information and not merely a medium to send and receive information
- Steve Jobs
- Tim Berner-Lee
- Bill Gates
- Douglas Englebart
Tim Berner-Lee
Which of the following represents the correct order, from largest to smallest?
- LAN, WWW, Internet
- WWW, Internet, LAN
- Internet, WWW, LAN
- Internet, LAN, WWW
Internet, WWW, LAN
www.ung.edu is an example of a(n):
- IP address
- server address
- domain name
- home address
domain name
The parts of a URL are:
- protocol, domain name, pathname
- IP address
- sequence number, IP address
- home page, sub pages
protocol, domain name, pathname
A telephone conversation is an example of ________ communication because both people in the conversation must perform one of the two parts of the communication (talking or listening) simultaneously.
-synchronous
-asynchronous
-domain
-TCP/IP
Synchronous
The internet is fast enough to mimic ________________ communication.
-synchronous
-asynchronous
-fast
-LAN
Synchronous
Communication between one sender and many receivers is called:
-broadcast communication
-client/server communication
-point-to-point communication
-multicast communication
broadcast communication
An example of synchronous communication:
-phone call
-texting
-email
-answering machine
phone call
Translates the hierarchical, human-readable names into the IP address
-DNS
-DSL
-URL
-web server
DNS
This type of communication results in the sending and receiving of information to occur at different times
-synchronous
-asynchronous
-slow
-DNS
Asynchronous
When planning a new business, I should reserve the __________ now and can purchase the __________ when I have built the website.
-domain name; hosting
-IP address; domain name
-hosting; protocol
-hosting; domain name
domain name; hosting
The “ung” in mail.ung.edu is:
-a domain.
-a URL.
-a top-level domain.
-the server’s name.
a domain
Internet communications are sent strictly through telephone lines.
True or False?
False
The term “www” must be included when typing all Web addresses.
True or False?
False
A computer is considered a(n) ________ when it gets services from another computer.
-server
-client
-domain
-child
Client
Each computer connected to the Internet is given its own unique Internet Protocol address.
True or False?
True
A network of networks is a good description of the ________.
-Ethernet
-LAN
-Internet
-twisted pair
internet
The World Wide Web and the Internet are the same.
True or False?
False
In a Web address, the http://is the:
-file name
-protocol
-pathname
-domain
protocol
Home computers typically link to the Internet via an ISP
True or False
True
An example of a top-level domain is .edu.
True or False?
true
123.2.45.357 is an example of:
-domain
-protocol
-IP address
-url
IP address
You must have a business license to register a .com domain.
True or False?
False
The UDP protocol is used when:
-packets must be received in order
-lost packets must be resent
-speed of transmission is of utmost importance
-the transmission is text only
speed of transmission is of utmost importance
In TCP/IP transmissions, packets from the same transmission can take different routes to the destination.
True or False?
True
In the url:
http://www.mywebsite.com/fun/
jokes.html
What is to the right of the top level domain?
-protocol
-domain name
-TLD
-path
path
All HTML files must be plain text files.
True or False
True
A relative path can be just a file name if the referenced file is in the same folder as the page that links to it.
true or false?
true
The horizontal rule <hr> tag and the break <br></br> tag are examples of singleton tags.
true or false?
true
The layout of a web page depends on the tags used not on the layout of the source file.
True or False
True
Hyperlinks to pages on other websites must contain an absolute path name while on site links may contain a relative path name.
true or false?
true
Every web page is composed of a head and a body.
true or false?
True
Which of the following tags is not required on a web page?
-<body>
-<html>
-</hr>
-<head>
</hr>
Which of the following will display the rocket.jpg File on the page if the image is stored in the same folder as the page?
a.) <img “rocket.jpg”>
b.) <img src “rocket.jpg”>
c.) <img></img>
d.) <img></img>
c.) <img></img>
Html tags that create hyperlinks are known as ____ tags
- Anchor
- Linker
- bold
- text
anchor
Which of the following will display the roses.jpg the image on the page if the image is stored in a subfolder, images, of the current page?
<img “c://documents/class/roses.jpg” alt=”flowers”/>
<img></img>
<img></img>
<img src “c:///documents/school/CS1250/roses.jpg” alt=”flowers”/>
<img></img>
HTML tags are enclosed in angle brackets, < and >.
true or false?
true
As you write html it should be open in two applications.
true or false?
true
The title that appears on the title bar of the browser is specified using…
-title tags
-page name tags
-HTML tags
-body tags
title tags
The preferred way to specify a break that continues the text on the next line in a web page is
- By pressing the enter key
-<line>
-<br></br>
-<br></br><br></br></line>
<br></br>
The tag for the heading that is the largest and the darkest
<h1>
<heading>
<No1>
<biggest>
</biggest></No1></heading></h1>
<h1>
</h1>
Inserting <div></div> tags into the HTML page has no effect on the display of the page
true or false?
true
Provides a unique handle on an HTML input element so the web developer can manipulate the element individually.
-ID
-class
-alt
-label
ID
Html tags that create drop down menus are called
-input
-drop
-select
-menu
select
The html:
<ahref=”http://www.coffeecup.com”>Visit CoffeeCup</a>
- He uses an absolute path to create a link
- Uses a relative path to create a link
- links a coffee cup image
- creates a button to visit coffee cup
He uses an absolute path to create a link
Both the height and width should be specified in an IMG tag to preserve the aspect ratio of the picture.
true or false?
False. one or the other should be specified
<ul>
<li>oranges</li>
<li>grapes</li>
<li>apples</li>
</ul>
- Create an alphabetized list of fruits
-creates a bulleted list of three fruits
-creates a numbered list of three fruits
-links three fruits to your HTML page
creates a bulleted list of three fruits
All text and images that are to be displayed in the browser window should be between these tags
<body>
</body>
What’s wrong with the following ordered list?
<ol>
<li>apple</li>
<li>orange</li>
<li>grape</li>
</ol>
missing closing tag: </ol>
image files must be stored in their own folder
true or false?
False
If you specify the width of a photo image without specifying the height of it you will end up with a distorted image
true or false?
false
What is the html tag for bold text?
<b> </b>
A(n)____is a family of styling specifications in CSS given a common name.
-class
-group
-family
-style specs
class
Image formats used on web pages
-gif
-jpg
-png
-all of the above
all of the above
With CSS I can change
-color
-layout
-font
-all of the above
all of the above
The same CSS style sheet can be used to style multiple pages
true or false?
true
CSS files are plain text files. Microsoft Word is a good application for creating and editing CSS files.
true or false?
false
Html provides the structure of a web page and css provides the visual layout in style.
true or false?
true
There are 64 color options with CSS.
true or false?
false
What does CSS stand for?
Cascading style sheets.
The best practice is to make CSS style tags where appropriate within the HTML document.
True or false?
False
ACSS rule set is enclosed in…
{ }
The CSS rule:
h2 { color: #4c4c4c; }
does what?
Changes the text color of all h2 headings
The following CSS rule:
body { background-color: #c4c4c4; }
does what?
changes the background of the entire page
The CSS rule:
p { font-size: 1.5em; }
does what?
changes the font size for all paragraph elements
To change The style of an element marked with an ID my style
- #mystyle{…}
- .mystyle{…}
- mystyle{…}
- ==mystyle{…}
mystyle { … }
On modern website, you must stick to fonts loaded on those computers. True or false?
False
I can use fonts from the Google fonts website by embedding them in my web page. True or false?
True
I can apply styles to create a column on my page by wrapping the elements in <div></div> tags and styling the div in my CSS.
True or False?
True
To create unique sections on my page, such as a header, I can add a(n)____to the <div> tag and add style the ____in my CSS.
-class
- ID
-barcode
- element
id
I can set the style of my border with the following properties
- border-style
-border width
- border color
- all of the above.
all of the above
The border property can only be used to place a border on all four sides of an html element.
True or false?
False
The following css:
img {
box-shadow: 2px 5px 5px #5c5c5c;
}
- creates a black border around a box element
- creates a grey border around a box element
- creates a grey shadow effect around box elements
- creates a grey shadow effect around images
creates a grey shadow effect around images
The job of the crawler is to:
-validate sites
-check html
-build an index
- verify addresses
build an index
When using a search engine, what appears first for each hit in the hit list?
- the first heading on the page
- the navigation links
- the keywords found on the page
- the title
the title
” “
OR
all of the above
all of the above
Enclosing search terms in quotes asks for pages with:
- the search terms in any order
- the search terms in the exact order as written
- only the first word in the search terms
- only some of the words in the search terms
the search terms in the exact order as written
<>
&
+
+
Who is in charge of the World Wide Web?
-Vint Cerf
-Larry Page and Sergey Brin
-the United States government
-no one
no one
The higher the __________, is , the closer to the top of the list a web page will be in the returned results of a search query.
-publish date
-page rank
-crawler date
-number of pages
page rank
Wikipedia is validated by ____________.
-Vint Cerf
-Larry Page and Sergey Brin
- the United States government
-no one
no one
A collection of computer programs that help us find information on the web:
-Dewey Decimal System
-Libraries
-Search Engines
-Domain Servers
Search Engines
The __________ returns a hit list.
Crawler
-Query Processor
-Hosting provider
-Domain reader
Query Processor
Search engines are able to answer user queries very quickly because:
-The crawler builds the index in advance
-cable speeds are very fast
-many crawlers are available to go look up the information
-the hit list is small
The crawler builds the index in advance
The crawler evaluates _______.
-the title
-alt tags
-anchor text
-all of the above
all of the above
The ________ returned with the hit list provides valuable information about the context of the search terms.
-URL
-snippet
-page description
-keywords
keywords
To include synonyms of a term in search results, use the ______ character.
~
$
+
-
~
To show search results within the timerange between 2009 and 2015:
- 2009:20015
- 2009-2015
- 2009..2015
- [2009,2015]
2009..2015
To find information about the insect beetles and not the car, use search terms:
- beetles +bugs
- beetles(insects)
- beetles -car
- beetles without car
beetles -car
To locate exact words in a specific order use:
“ “
( )
[ ]
< >
” “
The part of the search engine where you enter your search terms:
- crawler
- query processor
- hitlist
- trivial pursuer
query processor
The title tag should contain important keywords to help the search engine determine what the page is about and index it for those keywords.
True or False?
True
The best way to ensure your page is found for certain keywords is to list them as keywords in the meta tags.
True or False?
False
The two main parts of a search engine are:
- input, output
- crawler, spider
- crawler, query processor
- google, bing
crawler, query processor
Search engines publish their algorithms for indexing and ranking sites so you can know exactly how to write your site.
True or False?
False
Which is the best choice for anchor text for the link to directions to your business, Larry’s Lawncare.
- click here
- Google
- Google maps
- directions to Larry’s Lawncare
directions to Larry’s Lawncare
Which area(s) of a webpage are strongly considered for keywords:
- title
- alt text
- anchor text
- all of the above
all of the above
The query processor can return pages of hits in less than a second because the speed of the internet has made it fast enough to check all websites in less than a second.
True or False?
False
A computer algorithm must be:
- specific
-unambiguous
- ordered
- all of the above
all of the above
Different algorithms for the same problem can:
- solve the same problem differently
- mean that one algorithm is preferred over others
- take different amounts of processing time
- all of the above
all of the above
There is only one valid algorithm to solve a problem.
True or False?
False
Using a search engine to perform a web search is an algorithm.
True or False?
False
The language that allows us to write programs that interact with HTML, and related technologies:
- java
- javascript
- C
- C++
javascript
Algorithms that are written in a specific programming language:
- processes
- steps
- recipes
- programs
programs
To include javascript in a web page it must be in ________ tags.
- source
- style
- script
- h1
script
A programming language used to make web pages interactive:
- algorithm
- javascript
- java
- cobol
javascript
Algorithms should:
- only be clear to the algorithm designer
- be ambiguous to allow creativity
- always achieve the intended result
- be written to solve one specific case
always achieve the intended result
When a process involves repeating steps to achieve the desired result, this is know as:
- reiterating
- circling
- looping
- wrapping
looping
A recipe can be an algorithm.
True or False?
True
All variables in a JavaScript program must be declared.
True or False?
True
The statement terminator in JavaScript is the colon (:).
True or False?
False
Which of the following is not a suitable assignment statement?
- wages = hours * rate
- length x width = area
- class = “College Algebra”
- score = 92.8
length x width = area
Which of the following is a valid JavaScript variable name?
- 0123
- 37AB
- BR549
- Tax Rate
BR549
In programming, names are called variables.
True or False?
True
A JavaScript variable cannot be initialized in the same statement in which it is declared.
True or False?
False
Which of the following is NOT a valid variable name in javascript?
- totalPrice
- total price
- total_price
-TotalPrice
total price
Logical names given to locations in memory:
- docs
- variables
- terms
- options
variables
The assignment statement which assigns a value to a variable must contain the __________ symbol:
==
?
@
=
The three basic data types in javascript are:
- numbers, strings, booleans
- numbers, letters, special characters
- input, output, storage
- input, data, number
numbers, strings, booleans
This javascript statement accomplishes what two things?
var tax_rate = 0.06;
- declares tax_rate and sets its value to 0.06
- compares tax_rate to the value 0.06
- increments the tax_rate by 0.06
resets tax_rate to 6
declares tax_rate and sets its value to 0.06
A Boolean value can be either true or false.
True or False?
True
In javascript, everything between ___ and ___ is a comment and ignored by the browser.
~~~/ /
( )
** **
[ ]
In javascript, the rest of the line after _____ is a comment and ignored by the browser.
***
[ ]
*//
||
//
What is GPU?
A unit for Graphics Processing
The hardware implementation of the Fetch/Execute Cycle is/are the:
control unit
Cloud computing requires:
an internet connection
Users must install cloud computing extensions for an application to use cloud services.
True or False?
False
Google Drive is an example of:
Cloud computing
The process providing copies of local files online is:
synchronization
Memory has a finite capacity.
True or False?
True
Using big data analytics makes it possible for retailers to target their advertising.
True or False?
True
Big data analytics are only useful to online businesses.
True or False?
False
Example(s) of cloud computing:
-Microsoft OneDrive
-Google Sheets
-Dropbox
-all of the above
all of the above
More and more women are entering the Computer Science field. True or False?
False
In the Fetch/Execute Cycle, the action of retrieving a machine instruction from the memory address given by the program counter occurs during the:
- Data Fetch (DF) step
- Instruction Fetch (IF) step
- Instruction Execute (EX) step
- Instruction Decode (ID) step
Instruction Fetch (IF) step
By this decade, Computer Science professors could assume that their students came in with relevent computer experience.
- 70s
- 80s
- 90s
- 2000s
80s
As long as an app is turned off, it cannot use your location services.
True or False?
False
Location services on your phone only work when you have cell coverage.
True or False?
False
Which of the following are the result of location services?
- targeted ads
- traffic routing
- phone tracking
- all of the above
all of the above
Having location services turned on is a risk to your personal security.
True or False?
True
Only your current location is tracked with location services.
True or False?
False
The US workforce has a shortage of the skilled workforce to make the most of Big Data.
True or False?
True
The average Data Scientist salary in 2016 was:
- $40,000
- $60,000
- $80,000
- $100,000+
$100,000+
Many businesses are accumulating new data faster than they can make use of the data.
True or False?
True
The Data Science field involves:
- statistics
- privacy
- security
- all of the above
all of the above
Geofencing involves using location services to define a geographic boundary.
True or False?
True
The type of malware that infected the city of Atlanta systems is known as:
- spyware
- virus
- botnet
- ransomware
ransomware
The group that attacked the city of Atlanta systems is know as:
- SamSam hackers
- Stealth Bombers
- City Slickers
- City Hackers
SamSam hackers
In programming, names are called variables.
True or False?
True
The letter sequence that makes up a variables name is called a label.
True or False?
False
A JavaScript variable cannot be initialized in the same statement in which it is declared.
True or False?
False
The statement terminator in JavaScript is the colon (:).
True or False?
False
In JavaScript, strings must be enclosed by single (‘) or double (“) quotes.
True or False?
True
A Boolean value can be either true or false.
True or False?
True
The flow of an assignment statement is always right to left.
True or False?
True
The outcome of a relational expression is always true or false.
True or False?
True
When defining a variable you must also initialize it.
True or False?
False
From language to language, generally an identifier:
- can be made up of only letters
- starts with two digits followed by letters or numbers
- starts with a letter and is followed by letters, numerals, or the underscore
- cannot contain numbers, spaces, or lowercase letters
starts with a letter and is followed by letters, numerals, or the underscore
Which of the following is a valid JavaScript variable name?
- 0123
- 37AB
- BR549
- Tax Rate
BR549
In JavaScript, 17%5 is:
- the name of a variable
- 2
- 3
- the same as 17/5
2
In JavaScript, an empty string:
- contains a single space enclosed in double quotes
- is not valid
- is the same as an undefined value
- is written as “”
is written as “”
The result of 10+ (74-2)/8*8 is:
- 80
- 81
- 82
- 84
82
The result of 20%8 is:
- 2
- 2.5
- 4
- 8
4
The result of 1/3 is:
- 0
- 0.3333
- 1
- invalid
0.3333
The result of 13>3 is:
- 10
- 13
- true
- false
true
The result of “Good”+”morning” is:
- invalid
- Good morning
- 11
- Goodmorning
Goodmorning
What is the JavaScript expression of 2a+3b
- 2a+3b
- “2a+3b”
- 2a+3b
- none of above
2a+3b
What is the best JavaScript expression of a>b>c:
- a>b>c
- a>b && b>c
- a is greater than b and b is greater than c
- a>b && a>c
a>b && b>c
document.write() displays the result in a web page.
True or False?
True
alert() displays the result is a pop-up window.
True or False?
true
In the expression (70+2)/98+10, 98 is computed first.
True or False?
False
a==b and a=b are the same in programming.
True or False?
False
When the <Boolean> of an if/else statement is false, the <else-statement> of the expression is executed.
True or False?</else-statement></Boolean>
True
The closing curly brace of a compound statement does not end with a semicolon.
True or False?
True
an if statement must have
- the word then in it
- the <then-statement> on a seperate line
- a semicolon at the end of it
- all of the above</then-statement>
a semicolon at the end of it
Given i is 90, what is the output in an alert box?
if (i < 90)
alert(“alpha”);
else
alert(“beta”);
Question options:
alpha
beta
alphabeta
no output