Download Valeo Exam Cafc PDF

TitleValeo Exam Cafc
TagsEmbedded System C (Programming Language) Software Testing Unit Testing
File Size251.6 KB
Total Pages17
Document Text Contents
Page 1

http://en.wikipedia.org/wiki/Requirements_analysis
http://en.wikipedia.org/wiki/Requirements
http://en.wikipedia.org/wiki/User_(computing)
http://en.wikipedia.org/wiki/Functional_requirements
http://en.wikipedia.org/w/index.php?title=V-Model_(software_development)&action=edit&section=3
http://en.wikipedia.org/wiki/Systems_design
http://en.wikipedia.org/wiki/Data_structure

Page 2

http://en.wikipedia.org/w/index.php?title=V-Model_(software_development)&action=edit&section=4
http://en.wikipedia.org/wiki/Computer_architecture
http://en.wikipedia.org/wiki/Software_architecture
http://en.wikipedia.org/wiki/Interface_(computer_science)
http://en.wikipedia.org/wiki/Coupling_(computer_science)
http://en.wikipedia.org/wiki/Database
http://en.wikipedia.org/wiki/Table_(database)
http://en.wikipedia.org/w/index.php?title=V-Model_(software_development)&action=edit&section=5
http://en.wikipedia.org/wiki/Modularity_(programming)
http://en.wikipedia.org/wiki/Modular_programming
http://en.wikipedia.org/wiki/Pseudocode
http://en.wikipedia.org/wiki/API
http://en.wikipedia.org/wiki/Error_message
http://en.wikipedia.org/w/index.php?title=V-Model_(software_development)&action=edit&section=6
http://en.wikipedia.org/w/index.php?title=V-Model_(software_development)&action=edit&section=7
http://en.wikipedia.org/w/index.php?title=V-Model_(software_development)&action=edit&section=8
http://en.wikipedia.org/wiki/Integration_testing
http://en.wikipedia.org/wiki/Interface_(computer_science)
http://en.wikipedia.org/wiki/Black_box_testing

Page 8

Is one of this parameters is static, extern can’t be used

The "extern" declaration in C is to indicate the existence of, and the type of, a

global variable or function. A global variable, or a global function, is one that is

available to all C modules (a single C module is typically a single .c file). An extern

is something that is defined externally to the current module. In many cases, you

can leave off the extern qualifier and not notice any difference because the linker

can collapse multiple definitions to one. But the intent is then unclear in the code,

and the code is error prone in case of typos. It is much clearer to define the global

in one place, and then declare extern references to it in all the other places.

When refering to globals provided by a library, especially a shared library, this is

even more important in order to ensure you are talking about the correct,

common instance of the variable.

Declaring a variable as extern will result in your program not reserving any

memory for the variable in the scope that it was declared. For instance (as

example) if a program's source code declared the variable var as a global volatile

int in foo.c, to properly use it in bar.c you would declare it as extern volatile int

var.

It is also not uncommon to find function prototypes declared as extern.

A good C manual will certainly answer this more completely.

volatile??

Volatile variables, variables that can be changed by an external process

static??

A variable that retains the same data throughout the execution of a program. In

contrast, a dynamic variable can have different values during the course of a

program.
http://www.compeng.dit.ie/staff/tscarff/stack/stack.htm

register??





'int' type?? 'unsigned char' type?? (size)



Int =16 bit

Long int = 32 bit

http://www.webopedia.com/TERM/V/variable.html
http://www.webopedia.com/TERM/D/data.html
http://www.webopedia.com/TERM/P/program.html
http://www.webopedia.com/TERM/D/dynamic_variable.html
http://www.compeng.dit.ie/staff/tscarff/stack/stack.htm

Similer Documents