Table of Contents
cprog Keywords
cprog Keyword 1
Standard I/O (STDIO, STDOUT, STDERR).
Definition
Standard I/O stands for the Standard Input and Output, standard input devices are commonly keyboards or mice, etc… standard outputs are monitors, printers, etc…
Demonstration
Demonstration of the chosen keyword.
If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:
/* * Sample code block */ while(c != EOF) { if((c >= 65) && (c <= 'Z')) c = c - keyvalue; else if((c >= 'a') && (c <= 'z')) c = c - keyvalue; fprintf(stdout, "%c", c);
cprog Keyword 2
Pointers (address of, assignment, dereferencing)
Definition
Pointers are used to reference information, you would use a pointer to not directly place something but to reference multiple “things” to that location via a pointer.
Pointers are indicated with * symbol, pointers can contain more than one * as in ,*, and so on….
The * in a pointer is usually followed by a defining word or phrase or character, in my example listed I have *cipher, *key, and *decipher
The *cipher is a pointer to cipher and not actually cipher.
Demonstration
Demonstration of the chosen keyword.
If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:
/* * Sample code block */ #include<stdio.h> #include<stdlib.h> int main() { FILE *cipher, *key, *decipher;
cprog Keyword 3
Arithmetic (equations, operators)
Definition
Mathematical logic that is used in pseudo codes syntax (IE: +,-,/,x,>,<,=,==,!
Demonstration
Demonstration of the chosen keyword.
If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:
while(c != EOF) { if((c >= 65) && (c <= 'Z')) c = c + keyvalue; else if((c >= 'a') && (c <= 'z')) c = c + keyvalue;
cprog Keyword 4
Arrays (standard notation, pointer arithmetic, single-dimensional, multi-dimensional)
Definition
series list of memory values linked by a common name and data type.
Demonstration
Demonstration of the chosen keyword.
If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:
/* * Sample code block */ #include <stdio.h> int main() { num someVals[3]=25,44,22 return(0); }
cprog Keyword 5
Header Files (Local and System), C Standard Library (Libc), Libraries
Definition
Collection of predefined functions and syntax that can loaded as a library header file.
Demonstration
Demonstration of the chosen keyword.
If you wish to aid your definition with a code sample, you can do so by using a wiki code block, an example follows:
/* * Sample code block */ #include<stdio.h> #include<stdlib.h> #include<math.h> #include<string.h> int main() { return(0); }
cprog Keyword 6
File Access (Read, Write, Append)
Definition
The File Access of a File determines the privileges the user has with the file upon opening said file, whether it be just being able to read, or read and write a new file, or append and add to an existing file(s)
Demonstration
Demonstration of the chosen keyword.
I believe that when you are trying to add or deny file access you would as follows
+r to allow reading, -r to not allow read
+w to write, -w to not allow writing
+a to allow appending, and -a to not…
cprog Keyword 7
logic and operators (and, or, not, xor)
Definition
logic operators like and, or, not, xor compare expressions, Boolean expressions in particular, they are also used to compare two expressions or sentences.
Demonstration
Demonstration of the chosen keyword.
x = Not 23 > 12 ' x equals False. x = Not 23 > 67 ' x equals True.
cprog Keyword 8
Variables (types, ranges, sizes)
Definition
variables are identifiers that create a permanent “existence” the variable could be named anything from the letter x to the name Shane.
their are different types of variables that are pre-determined the c language for size allocation purposes; like:( char, int, long int…so on)
Demonstration
Demonstration of the chosen keyword.
unsigned long long int quantity = 0; unsigned char uc = 0; signed char sc = 0; unsigned short int usi = 0; signed short int ssi = 0; unsigned int ui = 0; signed int si = 0; unsigned long int uli = 0; signed long int sli = 0; unsigned long long int ulli = 0; signed long long int slli = 0;
cprog Objective
cprog Objective
To learn the programming languages c and c++?
Definition
variables, pointers, classes, code, arrays, logic operators, math, header files…
Method
I will try my best and reflect that effort on a grade based system administered from professors.
Measurement
I don't really know much about this coming into this class but I know much more then I did, I can't really say that amounts to anything impressive to someone that does this for a living but I could probably hold a common conversation on the topic now.
Analysis
- How did you do?
I probably could have learned more if I wasn't taking 4 other classes that were all full of brand new information at the same time, but ya know.
- Is there room for improvement?
yes.
- Could the measurement process be enhanced to be more effective?
sure?
- Do you think this enhancement would be efficient to employ?
again sure?
- Could the course objective be altered to be more applicable? How would you alter it?
I would try some simpler things for people that have no idea what is going on, and have been looking at this subject of study for the first time with this class.