Exam 2 - CSE 1300 - D. Malcom
less than or equal to - ANS-<=
Greater than - ANS->
Less than - ANS-<
Inequality (not equal to) - ANS-!=
greater than or equal to - ANS->=
Equality (equal to) - ANS-==
* - ANS-Used to find the product
% - ANS-Used to find the remainder
/ - ANS-Used to find the quotient
+ - ANS-Used to find the sum
- - ANS-Used to find the difference
Which best describes how a domain name is handled when a user's computer attempts to send
data to www.amazon.com? The domain name is _____. - ANS-Translated to the Amazon.com
IP address, which is used to route data to the correct server
Moore's Law is the term for the trend of chip (IC) capacity having doubled roughly every _____
from the 1960's to the 2010's. - ANS-2 years
If a user wants to store large numbers of videos on a computer, he/she should increase the size
of the: - ANS-Drive
On the Internet, a _____ server converts a name like www.ucr.edu into an IP address. -
ANS-DNS
Programmers of the first computers were mostly _____. - ANS-Women
Many computers have a fan that blows room air over a computer's CPU chip to keep the
chip cool. - ANS-True
, IPv6 Internet Protocol address is represented as eight groups of four Octal digits - ANS-False
A computer CPU can be overclocked? - ANS-True
Worms and trojan horses are easily detected and eliminated by antivirus software. - ANS-True
What is the importance of thinking computationally? (Mark all that apply) - ANS-To be better
problem solvers in everyday life
To be able to give a set of instructions to a computer
To apply a collection of tactics and approaches to assist in problem solving
What value does the following expression evaluate to? 2 + 9 * ((3 * 12) - 8) / 10 - ANS-None of
these (27.2)
Identify the invalid keyword below. - ANS-As
How many operands are there in the following arithmetic expression? 6 * 35 + 8 − 25 - ANS-4
Which method is used to compare two String objects for their equality ? - ANS-equal() (in
Python ==)
Which of the following statements is used to create an empty set in Python? - ANS-set()
Only one of these 4 is an example of computational thinking, which is it? - ANS-Planning your
public transport route before leaving the house
Which of the following sentences if incorrect about pattern recognition? - ANS-Pattern
recognition only applies to literal patterns.
What is the output from the following code?
a=4
b = (a != 4)
print(b) - ANS-False
What will be the output of the following Python expression?
int(1101)? - ANS-1101
Examine the following python code
a=-6
b=2
print(a+b)
print(a*b)
print(a-b)
output:
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Hkane. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $7.99. You're not tied to anything after your purchase.