• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/27

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

27 Cards in this Set

  • Front
  • Back
(8) What are the two types of files that can make up a C program?
1. A source code file (*.c) – holds the instructions the program will carry out 2. A header file (*.h) – contain declarations and definitions used by the program
(8) When referring to C Programming, what does the following represent: #include <stdio.h>
include the stdio header file, which contains the function declarations necessary to use the Standard Input/Output library
(8) When referring to C Programming, what symbol represents a Pre-Compiler Directive?
#
(8) When referring to C Programming, what is used to identify comment lines?
“/”; Two slashes “//” represent a single line comment while One slash “/” represents multiple lines
(9) When referring to C Programming, what is used to identify to the compiler where execution will begin?
A function named “main”
(9) How are functions identified in C Programming?
Open and Closed parentheses: ( )
(9) What are used to mark the start and end of a block of code in C Programming?
Open and Closed braces { }
(9) What is a standard Input/Output function defined in stdio.h that allows programmers to print text to the screen?
printf
(9) What is used in C Programming to indicate that the main program ran successfully?
return (0)
(11) What are referred to, in C Programming, as named memory locations?
Variables
(11) What occurs when a variable is declared in C Programming?
A piece of memory (RAM) is set aside to store the variable’s data
(11) What are the three most common types of variables in C Programming?
1. Integers (whole numbers) 2. Floats (real numbers) 3. Characters
(11) What is a variable name known as?
Identifier
(11) A valid __________ may consist of any combination of letters, numbers and the _(underscore).
Identifier
(11) T/F? A valid identifier can begin with anything (character or number).
False. A valid identifier may not begin with a number
(11) What is important to know about variable declarations in C Programming with regard to when they are declared?
Variables must be declared before any functionality is performed
(11) How is an integer variable declared in C Programming?
Int (var) = (value);
(11) How is a float variable declared in C Programming?
Float f = (value);
(11) How is a character variable declared in C Programming?
Char c = (value);
(13) What is the ability of a program to give information to the user?
Output
(13) What function in C Programming can be used to display text and values of variables on the screen?
printf
(13) How are placeholders for variables indicated in C Programming?
A percent sign (%) followed by a letter
(13) Which variable placeholder is used to represent a signed decimal integer?
%d
(13) Which variable placeholder is used to represent a signed decimal, octal, or hex integer?
%i
(13) Which variable placeholder is used to represent a floating point value?
%f
(13) Which variable placeholder is used to represent any single character value?
%c
(13) Which variable placeholder is used to represent a string value?
%s