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

Exam (elaborations)

CSCI 235 - Final Exam - Charleston Southern University Questions with Answers

 6 views  0 purchase
  • Course
  • CSCI 235 - Charleston Southern University
  • Institution
  • CSCI 235 - Charleston Southern University

CSCI 235 - Final Exam - Charleston Southern University Questions with Answers parallel - Answer-Two (or more) arrays are called _______________ if their corresponding components hold related information. base address - Answer-When you pass an array as a parameter, the ______________ of the act...

[Show more]

Preview 2 out of 7  pages

  • September 11, 2024
  • 7
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSCI 235 - Charleston Southern University
  • CSCI 235 - Charleston Southern University
avatar-seller
Perfectscorer
CSCI 235 - Final Exam - Charleston
Southern University Questions
with Answers

parallel - Answer-Two (or more) arrays are called _______________ if their
corresponding components hold related information.

base address - Answer-When you pass an array as a parameter, the ______________
of the actual array is passed to the formal parameter.

dot . - Answer-In C++, the member access operation is a ________________.

You can use relation operators on struct variables. - Answer-Which of the following
statements is FALSE?

{ } - Answer-The members of a struct definition are enclosed in _______________.

passing to a function - Answer-Which of the following aggregate operations is permitted
on both structs AND all array types?

student.GPA = 0.0; - Answer-Given a struct variable named student and a member
variable GPA of type double, which of the following statements initialized GPA to 0.0?

cin >> student.GPA; - Answer-Given a struct variable named student and a member
variable GPA of type double, how would you read a value into GPA form the standard
input?

true - Answer-Data in struct variables must be read on member at a time.

false - Answer-Aggregate input operation are allowed on struct variables.

true - Answer-Aggregate output operation are allows on struct variables.

false - Answer-Data in struct variables cannot be input or output.

true - Answer-A function can return a value of a type struct.

false - Answer-A struct variable can only be passed by value.

false - Answer-A struct variable can only be passed by reference.

, assignment - Answer-The only built-in operations on a struct are the ______________
and member access operations.

structured - Answer-A struct is a ______________ data type.

semicolons ; - Answer-In a struct definition, the struct members are separated by
____________________.

employees[0].firstName - Answer-Suppose you have a struct type named
EmployeeType. You have declared an array named employees with 50 elemets of type
EmployeeType. The EmployeeType struct has a member variable called firstName.
What is the syntax accessing the value of firstName in the first element of employees?

StudentType student; - Answer-Which of the following statements declares a variable
named student of the struct type StudentType?

Struct variables can be declared as part of the struct definition. - Answer-Which of the
following statements is TRUE of struct variable declaration?

true - Answer-Components of a struct can be of different types.

structVariableName.memberName - Answer-The syntax for accessing a struct member
is ______________.

The contents of newStudent are copied into student. - Answer-Suppose you have two
variables of the same struct type that are named student and newStudent. What is the
result of the statement student = newStudent?

members - Answer-The components of a struct are called _______________.

contain multiple structs of the same type - Answer-A struct may __________________.

10, 7, 9, 6 - Answer-The following array has ______________ rows and
________________ columns. The last row index is ________________ and the last
column index is __________________.

double hits[10][7];

foo(num); - Answer-Given the function prototype ad variables:

int foo(int& num);
int num;
char ch;

Which of the following will compile without errors:

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 Perfectscorer. 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)

75759 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