100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSE240 MIDTERM EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED $9.99   Add to cart

Exam (elaborations)

CSE240 MIDTERM EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED

 0 view  0 purchase
  • Course
  • Institution

CSE240 MIDTERM EXAM QUESTIONS AND ANSWERS WITH COMPLETE SOLUTIONS VERIFIED imperative and procedural language C is an ________ in the ALGOL tradition. static type system C has a ______ weakly typed. C is often considered _______ functions (procedures, subroutines). Code is organized into...

[Show more]

Preview 3 out of 19  pages

  • November 5, 2024
  • 19
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
avatar-seller
CSE240 MIDTERM EXAM QUESTIONS AND ANSWERS

WITH COMPLETE SOLUTIONS VERIFIED


imperative and procedural language


C is an ________ in the ALGOL tradition.


static type system


C has a ______


weakly typed.


C is often considered _______


functions (procedures, subroutines).


Code is organized into _____


passed by value


Function parameters are _______, although arrays are


passed as pointers, i.e. the address of the first item in the array.


Pass-by-reference ; pointers


_______ is simulated in C by explicitly passing _______ to the thing being referenced.


Semicolons


______ terminate statements

,curly braces


______ are used to group statements into blocks.


macro substitution,inclusion of other source files, and conditional compilation.


The C preprocessor performs • • •


Words that have a special meaning predetermined by the programming language


Reserved Word


unique names given to variables, functions...


identifiers


Reserved Word


...


Identifiers


...


represent a fixed value in the source code


literals


literals


...


library functions


I/O, string manipulation, and math are performed with _____


float Pythy(float a, float b); // on the top is considered what?

, function declaration


The function definition for Pythy


The bottom portion of code is consider what?


one-dimensional arrays of characters terminated by a null character '\0'


In C, strings are just_____


the name of the array is the pointer to the array


The firstName in the top scanf means what?


&num is the 'address of' num, or the pointer to it


The &num in the bottom scanf means what?


format specifiers


If format includes ________ (subsequences beginning with %), then the arguments following the string

are converted to characters and inserted into the string.


reads data from stdin and stores them, according to the format specifiers, into the locations pointed to

by the additional arguments.


int scanf ( const char* format, ... );


writes the string (pointed to by format) to the standard output (stdout).


int printf ( const char* format, ... );


support for the null-terminated character arrays,


Functions and macros in the language's standard library provide

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

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