CIS2750 Midterm Exam Questions and Answers
(Verified Answers) (Latest Update 2025) UPDATE!!
Save
Terms in this set (77)
-o: names the executable/output file
-o, -Wall, -pedantic, -
-Wall: activates all warnings
std=c99 in makefiles what
-pedantic: really picking with warnings
do each of these do
-std=c99: uses c99 standard for compiling
processor translates directives into more c code,
-E in makefile
inserts all code from stdio.h
-c in makefile compiler converts c code into object code
connects object code to standard or non standard
makefile linker
libraries
how to link and create link library -l(name of library)
libraries in makefile -L. provides path to library that isn't in defaults
creates position independent code, doesn't assume
-fPIC in makefile
where in memory your code will be
creates a shared library
-shared in makefile
.so
what does export tells os where the .so file is at runtime
LD_LIBRARY_PATH='pwd'
do
advantages of making makes repeated compilation easier
https://quizlet.com/1068088524/cis2750-midterm-exam-questions-and-answers-verified-answers-latest-update-2025-update-flash-cards/ 1/7
, 8/25/25, 5:55 AM CIS2750 Midterm Exam Questions and Answers (Verified Answers) (Latest Update 2025) UPDATE!! Flashcards | Quizlet
lists everything you want the make command to
all in makefile
create by default
clean in makefile deletes intermediate files
target: dependencies
command
make file rule format target: what you want to create
dependencies: what you need to run command
command any unix command (gcc or clang)
function that sorts an array of nell objects, intial
member is pointed to by the base, size is specified by
the width
qsort contents of array base are sorted in ascending order
according to comparison function pointed to by
function pointers which requires two arguments the
objects being compared
why does qsort use generic sorter, don't have to specify types, can pass in
function pointers any type of object
are scripting languages interpreted because allows for rapid development,
interpreted or compiled and change
and why
uses combination of compilation and interpretation,
source code is converted to byte code (similar to
how does python use
compliation)
compliation and
byte code is executed by an interpreter
interpretation
improves performance over purely interpreted
systems
how to scripting combines functionality of other programs and acts as
languages interact with glue
other programs
external program and libraries being used to increase
extending the functionality of the scripting language
(stdin/stdout)
https://quizlet.com/1068088524/cis2750-midterm-exam-questions-and-answers-verified-answers-latest-update-2025-update-flash-cards/ 2/7