CIS 2750 EXAM QUESTIONS AND
ANSWERS 100% SOLVED (Newest 2025)
Web App Architecture - Correct Answers ✅Parser builds
data model for every file, sends those values to web server,
web server stores info from that data model in DB server,
Web UI requests info from web server, web server either pulls
that from DB or requests a data model from parser
Linux Tool Chain - Correct Answers ✅sequence of software
tools that convert src code to binary
GCC - Correct Answers ✅GNU Compiler Collection
CPP - Correct Answers ✅C Preprocessor
- interprets all # in .h .and .c files before compiler sees source
code
C Compiler - Correct Answers ✅compile src into assembly
language (.i into .s)
[G]AS - Correct Answers ✅Assembler
takes assembly code into object code (.s to .o)
LD - Correct Answers ✅Linker
- stitches .o and referenced system libs into bin exe
- static libs are linked here (dynamic are at run time)
,CIS 2750 EXAM QUESTIONS AND
ANSWERS 100% SOLVED (Newest 2025)
LD.SO - Correct Answers ✅Loader
- tells OS to execute a program
- OS opens new program and copies segments into virtual
memory process
DLOPEN - Correct Answers ✅Loader
- Program using dynamically linked libs loaded by ld.so when
program starts
Macros in Makefiles - Correct Answers ✅$(THING) =
flags/files/commands
CC = gcc - Correct Answers ✅select GCC compiler as front
end
CPPFLAGS - Correct Answers ✅-Iinclude_file_dir (absolute)
-I~/myproj/include (relative and takes all system and own)
-Dsymbol (#define but in cmd line)
-DNDEBUG (disable assertions)
CFLAGS - Correct Answers ✅Compiler Flags
-g (save symbols for debugger)
-Wall -std=c11
-fpic
, CIS 2750 EXAM QUESTIONS AND
ANSWERS 100% SOLVED (Newest 2025)
-c
LDFLAGS - Correct Answers ✅Linker Flags
-Llib_dir
-L~/myproj/lib
-llibrary
-lfoo
Static lib - Correct Answers ✅linked at compile time,
inflexible, contents copied into exe
Dynamic lib - Correct Answers ✅linked at run time
shared libs
flexible
default irl
Creating shared lib - Correct Answers ✅gcc -c prog.c -o
prog.o
gcc -shared -o libprog.so prog.o
Creating static lib - Correct Answers ✅gcc prog.c prog.o -c
ar prog.o -o prog -lprog
ANSWERS 100% SOLVED (Newest 2025)
Web App Architecture - Correct Answers ✅Parser builds
data model for every file, sends those values to web server,
web server stores info from that data model in DB server,
Web UI requests info from web server, web server either pulls
that from DB or requests a data model from parser
Linux Tool Chain - Correct Answers ✅sequence of software
tools that convert src code to binary
GCC - Correct Answers ✅GNU Compiler Collection
CPP - Correct Answers ✅C Preprocessor
- interprets all # in .h .and .c files before compiler sees source
code
C Compiler - Correct Answers ✅compile src into assembly
language (.i into .s)
[G]AS - Correct Answers ✅Assembler
takes assembly code into object code (.s to .o)
LD - Correct Answers ✅Linker
- stitches .o and referenced system libs into bin exe
- static libs are linked here (dynamic are at run time)
,CIS 2750 EXAM QUESTIONS AND
ANSWERS 100% SOLVED (Newest 2025)
LD.SO - Correct Answers ✅Loader
- tells OS to execute a program
- OS opens new program and copies segments into virtual
memory process
DLOPEN - Correct Answers ✅Loader
- Program using dynamically linked libs loaded by ld.so when
program starts
Macros in Makefiles - Correct Answers ✅$(THING) =
flags/files/commands
CC = gcc - Correct Answers ✅select GCC compiler as front
end
CPPFLAGS - Correct Answers ✅-Iinclude_file_dir (absolute)
-I~/myproj/include (relative and takes all system and own)
-Dsymbol (#define but in cmd line)
-DNDEBUG (disable assertions)
CFLAGS - Correct Answers ✅Compiler Flags
-g (save symbols for debugger)
-Wall -std=c11
-fpic
, CIS 2750 EXAM QUESTIONS AND
ANSWERS 100% SOLVED (Newest 2025)
-c
LDFLAGS - Correct Answers ✅Linker Flags
-Llib_dir
-L~/myproj/lib
-llibrary
-lfoo
Static lib - Correct Answers ✅linked at compile time,
inflexible, contents copied into exe
Dynamic lib - Correct Answers ✅linked at run time
shared libs
flexible
default irl
Creating shared lib - Correct Answers ✅gcc -c prog.c -o
prog.o
gcc -shared -o libprog.so prog.o
Creating static lib - Correct Answers ✅gcc prog.c prog.o -c
ar prog.o -o prog -lprog