100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CS unit 1 code & lesson practices Questions and Answers £10.89
Add to cart

Exam (elaborations)

CS unit 1 code & lesson practices Questions and Answers

 7 views  0 purchase
  • Module
  • IFPC
  • Institution
  • IFPC

CS unit 1 code & lesson practices Questions and Answers Natural language __________ is what humans use to communicate with each other. Python is an example of __________ formal language. Which of the following falls under the field of computer science? All of the above Why ...

[Show more]

Preview 2 out of 5  pages

  • December 15, 2024
  • 5
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • IFPC
  • IFPC
avatar-seller
CS unit 1 code & lesson practices
Questions and Answers
Natural language __________ - answer is what humans use to communicate with
each other.

Python is an example of __________ - answer formal language.

Which of the following falls under the field of computer science? - answer All of the
above

Why do we need to use languages with consistent rules? - answer In order for the
computer to interpret the same words and phrases the same way every time.

1.2 code practice - answer print("Hello world")

True or False: print can only be used to output words - answer False

What is wrong with the following line of code?
print "Hello + World" - answer There should be parentheses around the string

Which of the following can we use to output text to the screen? - answer print

True or False: Two different strings can be printed using one print statement by "adding"
them with a + symbol - answer true

1.3 code practice: Question 1 - answer print("Computer Science is fun!")

1.3 code practice: Question 2 - answer print("Good")
print("Day")

1.3 code practice: Question 3 - answer print(" v v")
print("( 0 o 0 )")
print(" +")

Which of the following is true about software and hardware? - answer Software
refers to programs that run on the physical hardware of a computer

Main memory is ___________ - answer lost when the computer is powered off

Which of the following are tasks carried out by the compiler? - answer Translate
commands into binary machine code
Checks code for mistakes

, Instructions are carried out by which part of the computer? - answer CPU

1.4 code practice: Question 1 - answer print(" _ _")
print("(0)_(0)")
print(" |><|")
print("=| |=")
print(" ^ ^")

!.4 code practice: Question 2 - answer print(" ^ ^")
print(" (00)")
print(" ( (")
print(" ) )")
print(" ( (")
print(" ) )")
print(" ( (")
print(" ) )")
print(" ( (")
print(" ) )")
print(" V")

Escape characters are special output characters that begin with a ____ - answer \

What is output by the following line of code?
print("I/tLove\tPython") - answer I/tLove Python

What is output by the following line of code?
print(5*2 + 9) - answer 19

Which of the following will be ignored by the compiler when written as code? - answer
#print

When the computer translates digital information to information humans can use, it is
called _____________. - answer output

What is output by the following lines of code?
print("Hi", end="")
print("\tRonald") - answer Hi Ronald

1.5 Code Practice: Question 1 - answer print("Moon and stars wonder \nwhere have
all the people gone \nalone in hiding.\n\t- Albrecht Classen")

1.5 Code Practice: Question 2 - answer print("~~~~~~~~~~ \n$ $ \n$ PYTHON $ \n$
$ \n~~~~~~~~~~")

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

50990 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 15 years now

Start selling
£10.89
  • (0)
Add to cart
Added