Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

1) Define semantics: a) What you are. b) What you mean. c) What you do. d) How you say it. 2) Define syntax: a) What

1) Define semantics: a) What you are. b) What you mean. c) What you do. d) How you say it. 2) Define syntax: a) What you are. b) What you mean. c) What you do. d) How you say it.

3) Which one of the following types of programs is typically written in C++? a) Administration scripts. b) Web mail (like g-mail). c) Video games. d) Websites.

4) The correct way to express "a = 8x + 2" in c++ is: a) int a = 8 * x + 2; b) 8 * x + 2 = int a; c) int a = 8x + 2; d) int a = 8X + 2; 5) Why is branching a powerful concept in programming? a) It allows a program to behave differently depending on the input. b) It is the only way to write a program that will never end. c) It helps avoid syntax errors. d) a and b.

6) Which language(s) is/are capable of writing any program that is possible? a) C++ b) CSS c) Haskell d) a and c

7) The source code of a program should: a) Contain the fewest number of characters possible. b) Include a comment for each line of code. c) Be an elegant explanation of a problem and a computation to solve it. d) Be only be saved to the hard drive of a lab computer.

8) Which data type is capable of storing a real (non-whole) number? a) bool b) double c) float d) b and c

9) The answer to question 10 is: a) b b) c c) d d) a

10) The answer to question 9 is: a) b b) d c) a d) c

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions