100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COSC Final Exam Questions and Answers $12.49   Add to cart

Exam (elaborations)

COSC Final Exam Questions and Answers

 7 views  0 purchase
  • Course
  • COSC
  • Institution
  • COSC

COSC Final Exam Questions and Answers

Preview 2 out of 10  pages

  • August 24, 2024
  • 10
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • COSC
  • COSC
avatar-seller
millyphilip
COSC Final Exam Questions and
Answers

The popular programming languages Python and ________ are the two most widely
used data-science languages. - Answer -R

Which logical unit of the computer is the receiving section? - Answer -input unit

Python recently surpassed the programming language ________ as the most popular
data-science programming language. - Answer -R

T/F : Translator programs called assemblers convert high-level-language source code
into machine language. - Answer -False

T/F : Computing costs are rising dramatically, due to the increasing complexity of
hardware and software technologies. - Answer -False

A(n) ________ is the smallest data item in a computer. It can have the value 0 or 1. -
Answer -bit

In which IPython interpreter mode do you enter small bits of Python code called
snippets and immediately see their results? - Answer -interactive mode

T/F : a gigabyte is 1024 megabytes. - Answer -true

T/F: Interpreter programs, developed to execute high-level language programs directly,
avoid the delay of compilation, and run faster than compiled programs. - Answer -false

In the following expression, the addition operators (+) group as if we parenthesized the
expression as a+(b+c). - Answer -false

Python ignores all white space. - Answer -

If an expression contains several exponentiation operations, Python applies them from
left to right. - Answer -false

, What does the int function attempt to do in the following code? - Answer -Convert a
string to an integer

Which of the following statements about arithmetic operators is false? - Answer -
Expressions containing an integer and a floating-point number are mixed-type
expressions-these always produce an integer.

Placing two backslashes back-to-back tells print to display a blank line. - Answer -false

Each suite contains zero or more statements. - Answer -false

Using the assignment symbol (=) instead of the equality operator (==) in an if
statement's condition is a common logic error. - Answer -false

The value of the following expression is 3:

17 % 5 - Answer -false

To square a number, you can use the exponent 1/2 (that is, 0.5), as in:

9 ** () - Answer -false

The value of the expression '7' + '3' is the ________. - Answer -string '73'

The expression -13 // 4 evaluates to -3. - Answer -false

Python is case insensitive, so number and Number are the same identifier despite the
fact that one begins with a lowercase letter and the other begins with an uppercase
letter. - Answer -false

The value 10.5 is a(n) ________ (that is, a number with a decimal point). - Answer -
floating point number

The following statement changes x's value:

x + 10 - Answer -false

Every statement stops at the end of the line in which it begins. - Answer -false

You may spread a lengthy statement over several lines with the ________ continuation
character. - Answer -\

The = symbol is the assignment operator. - Answer -false

A string delimited by double quotes may not include double quotes. - Answer -false

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 millyphilip. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.49. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80467 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.49
  • (0)
  Add to cart