100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
KSU CSE 1321 Final Exam UPDATED ACTUAL Questions and CORRECT Answers $10.99   Add to cart

Exam (elaborations)

KSU CSE 1321 Final Exam UPDATED ACTUAL Questions and CORRECT Answers

 2 views  0 purchase
  • Course
  • KSU CSE 1321
  • Institution
  • KSU CSE 1321

KSU CSE 1321 Final Exam UPDATED ACTUAL Questions and CORRECT Answers Program design consists of A) the ability to solve problems. B) writing the documentation for a program. C) writing the code for a program. D) steps a programmer should do before they start coding a program in a specific ...

[Show more]

Preview 4 out of 31  pages

  • October 26, 2024
  • 31
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • KSU CSE 1321
  • KSU CSE 1321
avatar-seller
MGRADES
KSU CSE 1321 Final Exam UPDATED
ACTUAL Questions and CORRECT
Answers
Program design consists of
A) the ability to solve problems.
B) writing the documentation for a program.
C) writing the code for a program.
D) steps a programmer should do before they start coding a program in a specific language. -
CORRECT ANSWER✔✔- D) steps a programmer should do before they start coding a
program in a specific language.


Pseudocode is
A) a machine.
B) a formal programming language.
C) an informal high-level description of the operating principle of a computer program or
algorithm. - CORRECT ANSWER✔✔- C) an informal high-level description of the
operating principle of a computer program or algorithm.


A flowchart is a type of diagram that represents an algorithm, workflow or process.
A) True

A) False - CORRECT ANSWER✔✔- A) True


Software testing involves the execution of a software component or system component to
evaluate one or more properties of interest.
A) True

B) False - CORRECT ANSWER✔✔- A) True


IDE stands for
A) Integrated Development Environment
B) Initial Degree Expectations

,C) Intramural Department Executive - CORRECT ANSWER✔✔- A) Integrated
Development Environment


Debugging is the process of
A) publishing the source code to the client.
B) writing source code.
C) solving errors in the source code.

D) compiling the source code. - CORRECT ANSWER✔✔- C) solving errors in the source
code.


Input is sending messages to the console/user.
A) True

B) False - CORRECT ANSWER✔✔- B) False


Output is process of reading information from user, usually via keyboard or mouse.
True

False - CORRECT ANSWER✔✔- False


The MAIN method tells the program where to begin running code as it is the entry or starting
point for the program.
True

False - CORRECT ANSWER✔✔- True


Programming starts with
looking online for the answers.
developing an algorithm.

writing code until it works. - CORRECT ANSWER✔✔- developing an algorithm.


What is the output of the following code?
BEGIN MAIN
int num1 = 500;

,int num2 = 200;
int num3 = 300;
double average = num1 + num2 + num;
PRINTLINE(average);
END MAIN
Error message
333.33333333333
333.0

800.0 - CORRECT ANSWER✔✔- 800.0


If the expression xyz % 3 == 0 is true and xyz is a positive integer, then the value stored in
the variable xyz is evenly divisible by 3.
True

False - CORRECT ANSWER✔✔- true


A String (or string) object is a primitive data type.
True

False - CORRECT ANSWER✔✔- false


What would be the best datatype to represent product? A variable that stores information
about the number of items currently in stock in a grocery store.
float
double
int

String - CORRECT ANSWER✔✔- int


What is the value of j after this code is executed?
BEGIN MAIN
int i = 6, int j=10;
j+=i;
END MAIN

, 6
16
4

10 - CORRECT ANSWER✔✔- 16


What is the output of the following code?
BEGIN MAIN
int u = 3;
int v = 5;
u += v;
v += u;
u -= v;
v -= u;
PRINT (u + ", " + v);
END MAIN
3, 5
5, 3
-5, 18

-5,-3 - CORRECT ANSWER✔✔- -5, 18


Consider the expression: value >= 30
Which of the following is equivalent to this expression?
value > 30 OR value == 30
value > 30 AND value == 30
NOT(value < 29)

NOT(value > 31) - CORRECT ANSWER✔✔- Value > 30 OR value == 30


Consider two variables x and y. If the values of x =5 and y=10
BEGIN MAIN
IF(x < 0)

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

81989 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
$10.99
  • (0)
  Add to cart