{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

Class 3 Flashcards

(17 cards)

1
Q

Preproccesor

A

.c + .h = .i
#includes statements are expanded, #defines are replaced, and comments are removed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Compiler

A

.i —> .s (assembler source code)
Syntax parser

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Assembler (Converts assembly code to object code)

A

.s —> .o (assembler code parser)
Which is an object file; fragments of machine code with unresolved symbols and some addresses not known

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Linker (converts object code to executable code)

A

.o + library links a.out (default name); resolves symbols, generates an executable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Char

A

8 bits (1 bytes). Remember that each byte has its own address

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Short

A

2 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Int

A

4 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Long

A

8 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Float

A

4 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Double

A

8 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Long double

A

16 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

There are conceptually ______ of derived types constructed from the following types

A

Infinite class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

In what ways can derived types by constructed

A

Array of objects (variables or derived types), pointers to objects of given type, structures, union

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Constant variables are _______ only

A

Read. They cannot be modified during the execution of a program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Variable declarations formatt

A

Type identifier (, identifier);
Ex: int i, j, k;

17
Q

Stdbool.h

A

Defines three macros bool,true,false