How can we help?

You can also find more resources in our Help Center.

Study sets matching "c 40 programming"

Study sets
Classes
Users

Study sets matching "c 40 programming"

102 terms
C++ Programming
computer
hardware
software
system software
an electronic device capable of performing commands (input, o…
the physical components of a computer and its surrounding (pe…
sets of instructions to be executed by the computer, i.e., pr…
programs designed to control the computer
computer
an electronic device capable of performing commands (input, o…
hardware
the physical components of a computer and its surrounding (pe…
22 terms
C Programming
switch statement
#include <stdio.h>
echo $?
compile flags
test for multiple values of a single variable... switch runs al…
stdio library allows read and write data from terminal
check exit status of last program
gcc (source code)... -o output name {the outfile}
switch statement
test for multiple values of a single variable... switch runs al…
#include <stdio.h>
stdio library allows read and write data from terminal
17 terms
Programming in C
1.
A.
B.
C.
Which of the following statements should be used to obtain a…
rem = 3.14 % 2.1;
rem = modf(3.14, 2.1);
rem = fmod(3.14, 2.1);
1.
Which of the following statements should be used to obtain a…
A.
rem = 3.14 % 2.1;
80 terms
C programming
#
#include< >
stdio.h
puts(" ");
preprocessor directive
replaces the directive with the content of thee file whose na…
standard input output header file
writes something on the screen
#
preprocessor directive
#include< >
replaces the directive with the content of thee file whose na…
72 terms
C Programming
Placeholder for int values
float - floating point values
char - single character values Ex: "m"…
character strings
%d
%f
%c
%s
Placeholder for int values
%d
float - floating point values
%f
19 terms
Programming C
Multiline Comment
;
Identifiers rule
Is C case-sensitive
/ ... /
statement terminator
starts with a letter A to Z, a to z, or an underscore '_' fol…
Yes
Multiline Comment
/ ... /
;
statement terminator
62 terms
C Programming
argument
array
assignment
associativity
A value that is used in a call of a function.
An aggregate data object that stores similar data elements co…
An operator that assigns a value to a memory location associa…
A rule that defines the order in which operators (at the same…
argument
A value that is used in a call of a function.
array
An aggregate data object that stores similar data elements co…
86 terms
C programming
#
#include< >
stdio.h
puts(" ");
preprocessor directive
replaces the directive with the content of thee file whose na…
standard input output header file
writes something on the screen
#
preprocessor directive
#include< >
replaces the directive with the content of thee file whose na…
9 terms
C# programming
Int
Long
Float
Double
Whole number
Whole number (bigger range)
Floating-point number
Double precision
Int
Whole number
Long
Whole number (bigger range)
82 terms
C ++ Programming
(ISO)
(IEC)
What is Software?
Bits
International Organization for Standardization
International Electro-technical Commission
Software is any program that runs on a computer.
The smallest data item in a computer can assume the value 0 o…
(ISO)
International Organization for Standardization
(IEC)
International Electro-technical Commission
96 terms
C# programming
Compiler
Universal serial bus
Text box
Syntax
A program to translate a high-level language program into a s…
Small devices that plug into computer's USB port and appear t…
Object appears as a rectangular region that can except keyboa…
Set of strict rules that must be followed when writing program
Compiler
A program to translate a high-level language program into a s…
Universal serial bus
Small devices that plug into computer's USB port and appear t…
47 terms
C Programming
Pre-processor directive
#
include
<stdio.h>
What the compiler compilers before the rest of the program.
Specifies that this is a pre-processor directive.
Tells to include a file, generally a package.
std stands for standard... i stands for input... o stands for outpu…
Pre-processor directive
What the compiler compilers before the rest of the program.
#
Specifies that this is a pre-processor directive.
17 terms
C# programming
Programming Language Basics
A way to store and retrieve informatio…
Parallel Arrays
Exception Handling
A way to store and retrieve information to and from memory.... A…
Variables ... A variable is a memory location whose contents may…
Sometimes you may have two or more arrays that are linked in…
Try...Catch...Finally... Code that may create a problem is place…
Programming Language Basics
A way to store and retrieve information to and from memory.... A…
A way to store and retrieve informatio…
Variables ... A variable is a memory location whose contents may…
22 terms
C++ programming
#...
#include <iostream>
int main()
Function
Preprocessors - these lines work before your program starts
Instructs preprocessor to include c++ code, allows to perform…
Initiates tje declaration of a function. this function is aut…
Group of code statements which are given a name (int main ---…
#...
Preprocessors - these lines work before your program starts
#include <iostream>
Instructs preprocessor to include c++ code, allows to perform…
47 terms
C Programming
Pre-processor directive
#
include
<stdio.h>
What the compiler compilers before the rest of the program.
Specifies that this is a pre-processor directive.
Tells to include a file, generally a package.
std stands for standard... i stands for input... o stands for outpu…
Pre-processor directive
What the compiler compilers before the rest of the program.
#
Specifies that this is a pre-processor directive.
102 terms
C++ Programming Chapter 4
computer
hardware
software
system software
an electronic device capable of performing commands (input, o…
the physical components of a computer and its surrounding (pe…
sets of instructions to be executed by the computer, i.e., pr…
programs designed to control the computer
computer
an electronic device capable of performing commands (input, o…
hardware
the physical components of a computer and its surrounding (pe…
102 terms
C++ Programming
computer
hardware
software
system software
an electronic device capable of performing commands (input, o…
the physical components of a computer and its surrounding (pe…
sets of instructions to be executed by the computer, i.e., pr…
programs designed to control the computer
computer
an electronic device capable of performing commands (input, o…
hardware
the physical components of a computer and its surrounding (pe…
14 terms
programing c
entire
mention
recording
desktop
(adj) toàn thể, toàn bộ
(v) đề cập tới; (n) sự nói đến, sự nhắc tớ
n. /ri´kɔ:diη/ sự ghi, sự thu âm
(n) màn hình
entire
(adj) toàn thể, toàn bộ
mention
(v) đề cập tới; (n) sự nói đến, sự nhắc tớ
71 terms
C# Programming
What is C#
What does the 2.0 version of C# includ…
What is the .NET Framework?
What is the CLR?
General purpose, type safe, object oriented, platform neutral…
The 2.0 version of C# includes such new features as generics,…
a software framework developed by Microsoft that runs primari…
Common Language Runtime: the virtual machine component of Mic…
What is C#
General purpose, type safe, object oriented, platform neutral…
What does the 2.0 version of C# includ…
The 2.0 version of C# includes such new features as generics,…
C Programming
#include
int
printf
/n
Includes another class
Defines an integer
Prints text on the screen
Moves cursor to next line
#include
Includes another class
int
Defines an integer
80 terms
C programming
#
#include< >
stdio.h
puts(" ");
preprocessor directive
replaces the directive with the content of thee file whose na…
standard input output header file
writes something on the screen
#
preprocessor directive
#include< >
replaces the directive with the content of thee file whose na…
71 terms
C# Programming
What is C#
What does the 2.0 version of C# includ…
What is the .NET Framework?
What is the CLR?
General purpose, type safe, object oriented, platform neutral…
The 2.0 version of C# includes such new features as generics,…
a software framework developed by Microsoft that runs primari…
Common Language Runtime: the virtual machine component of Mic…
What is C#
General purpose, type safe, object oriented, platform neutral…
What does the 2.0 version of C# includ…
The 2.0 version of C# includes such new features as generics,…
75 terms
C program
Preprocessor directive
Compiler
Header file
integer
前置處理器指令
編譯器
表頭檔
整數
Preprocessor directive
前置處理器指令
Compiler
編譯器
12 terms
Programming C++
First, each instruction is composed of…
Second, each set of binary digits is t…
In an ____________, each instruction i…
Programs written in high level languag…
bits
CPU
assembly language
compiling, interpreting
First, each instruction is composed of…
bits
Second, each set of binary digits is t…
CPU
21 terms
C++ Programming
C++
Statement
function
main function
- "C with classes"... - developed in the 1970's by Bjarne Strous…
- unit of code terminated by a semicolon... - Used:... 1. to call…
- larger unit of code that may contain many statements or exp…
- main entry point of any C++ program... - called by the os when…
C++
- "C with classes"... - developed in the 1970's by Bjarne Strous…
Statement
- unit of code terminated by a semicolon... - Used:... 1. to call…
57 terms
Programming C#
What are [square] brackets used for?
What are (parentheses) for?
What are {curly} brackets used for?
What are <angle> brackets for?
Declaring arrays or integers of an array (empty only when dec…
Methods and conditions
Groups of related code (they always line up vertically apart…
Greater or less
What are [square] brackets used for?
Declaring arrays or integers of an array (empty only when dec…
What are (parentheses) for?
Methods and conditions
15 terms
C++ Programming
Collating Sequence
\n
\t
\0
Each of the 128 values of the ASCII character set represents…
New line character
Tab
Null
Collating Sequence
Each of the 128 values of the ASCII character set represents…
\n
New line character
31 terms
programming c++
The purpose of a memory address is:
Process of creating executable code
The computer's main memory is commonly…
In a broad sense, the two primary cate…
To identify the location of a memory cell
source code ... preprocessor ... modified source code ... compiler ... ob…
RAM
Low-level and High-level
The purpose of a memory address is:
To identify the location of a memory cell
Process of creating executable code
source code ... preprocessor ... modified source code ... compiler ... ob…
38 terms
C++ Programming
What is C++?
What is C++ and enhancement to?
What is C++ the goto programming langu…
What types of programming is C++ used…
C++ was created in the late 70's by a Danish programmer Bjorn.
C++ is an enhancement to C.
It is the goto programming for application and OS
it is used for object oriented, funtional, procedural, and ge…
What is C++?
C++ was created in the late 70's by a Danish programmer Bjorn.
What is C++ and enhancement to?
C++ is an enhancement to C.
19 terms
C programming
What is a good data type for whole num…
What is a good data type for fractiona…
What is a good data type for single ch…
What does a declaration of an integer…
integer (int)
Float (float) or Double (double)
Character (char)
int x;
What is a good data type for whole num…
integer (int)
What is a good data type for fractiona…
Float (float) or Double (double)
102 terms
C++ Programming
computer
hardware
software
system software
an electronic device capable of performing commands (input, o…
the physical components of a computer and its surrounding (pe…
sets of instructions to be executed by the computer, i.e., pr…
programs designed to control the computer
computer
an electronic device capable of performing commands (input, o…
hardware
the physical components of a computer and its surrounding (pe…
36 terms
C programming
#
#include< >
stdio.h
arguments or parameters
preprocessor directive
replaces the directive with the content of thee file whose na…
standard input output header file
things put inside a function
#
preprocessor directive
#include< >
replaces the directive with the content of thee file whose na…
28 terms
C Programming
Pre-processor directive
#
include
<stdio.h>
What the compiler compilers before the rest of the program.
Specifies that this is a pre-processor directive.
Tells to include a file, generally a package.
std stands for standard... i stands for input... o stands for outpu…
Pre-processor directive
What the compiler compilers before the rest of the program.
#
Specifies that this is a pre-processor directive.
5 terms
c programming
command line argument
c preproessor
macro substitution directory
file inclusion directory
it is possible to pass some values from the command line to y…
The C preprocessor or cpp is the macro preprocessor for the C…
#define preprocessor directive... It is also called as simple s…
Syntax:... #include ... or... #include "filename.h"... ... This direct…
command line argument
it is possible to pass some values from the command line to y…
c preproessor
The C preprocessor or cpp is the macro preprocessor for the C…
102 terms
C++ Programming
computer
hardware
software
system software
an electronic device capable of performing commands (input, o…
the physical components of a computer and its surrounding (pe…
sets of instructions to be executed by the computer, i.e., pr…
programs designed to control the computer
computer
an electronic device capable of performing commands (input, o…
hardware
the physical components of a computer and its surrounding (pe…
50 terms
C Programming
main
void main
main (void)
stdio.h
starting point of a program
no return from the program
no input into function, no parameters
header file; that exists on the machine and gives you access…
main
starting point of a program
void main
no return from the program
102 terms
C++ Programming
computer
hardware
software
system software
an electronic device capable of performing commands (input, o…
the physical components of a computer and its surrounding (pe…
sets of instructions to be executed by the computer, i.e., pr…
programs designed to control the computer
computer
an electronic device capable of performing commands (input, o…
hardware
the physical components of a computer and its surrounding (pe…
9 terms
c++ Programming
Header file that every program needs
Function that every file/program needs.
Header files.
The text needed to close and open a fu…
#include <iostream>
int main(){}
Windows.h, iostream, ctime, and math
{}
Header file that every program needs
#include <iostream>
Function that every file/program needs.
int main(){}
71 terms
C# Programming
What is C#
What does the 2.0 version of C# includ…
What is the .NET Framework?
What is the CLR?
General purpose, type safe, object oriented, platform neutral…
The 2.0 version of C# includes such new features as generics,…
a software framework developed by Microsoft that runs primari…
Common Language Runtime: the virtual machine component of Mic…
What is C#
General purpose, type safe, object oriented, platform neutral…
What does the 2.0 version of C# includ…
The 2.0 version of C# includes such new features as generics,…
84 terms
C programming
Int
Float
Long
Double
Números tipo enteros
Números tipo reales
Tipo enteros de largo alcance
Tipo reales de doble precisión
Int
Números tipo enteros
Float
Números tipo reales
15 terms
C Programming
sequence point
side effect
race condition
static variable
defines any point in a computer program's execution at which…
term for an expression that, in addition to returning a value…
...
Stored in either the .BSS or .DATA segment
sequence point
defines any point in a computer program's execution at which…
side effect
term for an expression that, in addition to returning a value…
23 terms
C programming
supercomputers
computer programs
programmers
multi-core processor
performing thousands of trillions of instructions per second
computers process data under the control of sequences of inst…
software programs guide the computer through ordered actions…
implements multiple processors on a single integrated circuit…
supercomputers
performing thousands of trillions of instructions per second
computer programs
computers process data under the control of sequences of inst…
39 terms
C programming
Hardware
RAM
ROM
Storage
physical components of the computing system
Random access memory. Temporary storage. This is part of memo…
Read Only Memory. This is area is used by the operating syste…
Storage is used to permanently preserve data/informant. Data…
Hardware
physical components of the computing system
RAM
Random access memory. Temporary storage. This is part of memo…
22 terms
C# Programming
Signed vs Unsigned
Byte, defaults to signed or unsigned?
Byte what's number range it can repres…
Are int and long signed or unsigned by…
Values that are signed reserve half of numbers for negative s…
Defaults to unsigned. So for a signed Byte we need sbyte.
0 -> 255
signed. we use uint and ulong for unsigned versions.
Signed vs Unsigned
Values that are signed reserve half of numbers for negative s…
Byte, defaults to signed or unsigned?
Defaults to unsigned. So for a signed Byte we need sbyte.
47 terms
Programming in C
What is a .c file? ... What is a .h file?
What line of code prints the contents…
Define a number variable named age, se…
Define a string variable called "me",…
c file (where all the real action is)... header file contains st…
NSLog(@"rockstar");
NSNumber *age = @116;
NSString *me = @"rockstar";
What is a .c file? ... What is a .h file?
c file (where all the real action is)... header file contains st…
What line of code prints the contents…
NSLog(@"rockstar");
20 terms
C Programming
Directive
Main
Statement
String Literal
Always begin with a #character, are one line long; there's no…
Function that is mandatory. Called automatically when the pro…
Command to be executed when the program runs. Always end with…
Characters enclosed in double quotation marks
Directive
Always begin with a #character, are one line long; there's no…
Main
Function that is mandatory. Called automatically when the pro…
22 terms
C Programming
#include
int
printf
/n
Includes another class
Defines an integer
Prints text on the screen
Moves cursor to next line
#include
Includes another class
int
Defines an integer
37 terms
Programming c#
block
control statement
short-circuit evaluation
Boolean logical AND operator
collection of one or more statements contained within a pair…
the part of a structure that determines whether the subsequen…
C# feature in which parts of an AND or OR expression are eval…
determines whether two expressions are both true; written usi…
block
collection of one or more statements contained within a pair…
control statement
the part of a structure that determines whether the subsequen…
C Programming
CPU
RAM
ROM
Fucrion of compliers
central processing unit
random access memory
read only memory
a computer program that translates a program written in high…
CPU
central processing unit
RAM
random access memory
82 terms
C Programming
AND
argument
assignment
binary operator
Represented as &&, a logical operator that returns 1 (TRUE) i…
A value that is used in a call of a function.
An operator that assigns a value to a memory location associa…
An operator that works on two operands. See also ternary oper…
AND
Represented as &&, a logical operator that returns 1 (TRUE) i…
argument
A value that is used in a call of a function.
1 of 10