100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CIS 2750 EXAM QUESTIONS AND ANSWERS

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
25-03-2025
Written in
2024/2025

CIS 2750 Web App Architecture - Answer- 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 - Answer- sequence of software tools that convert src code to binary GCC - Answer- GNU Compiler Collection CPP - Answer- C Preprocessor - interprets all # in .h .and .c files before compiler sees source code C Compiler - Answer- compile src into assembly language (.i into .s) [G]AS - Answer- Assembler takes assembly code into object code (.s to .o) LD - Answer- Linker - stitches .o and referenced system libs into bin exe - static libs are linked here (dynamic are at run time) LD.SO - Answer- Loader - tells OS to execute a program - OS opens new program and copies segments into virtual memory process DLOPEN - Answer- Loader - Program using dynamically linked libs loaded by when program starts Macros in Makefiles - Answer- $(THING) = flags/files/commands CC = gcc - Answer- select GCC compiler as front end CPPFLAGS - Answer- -Iinclude_file_dir (absolute) -I~/myproj/include (relative and takes all system and own) -Dsymbol (#define but in cmd line) -DNDEBUG (disable assertions) CFLAGS - Answer- Compiler Flags -g (save symbols for debugger) -Wall -std=c11 -fpic -c LDFLAGS - Answer- Linker Flags -Llib_dir -L~/myproj/lib -llibrary -lfoo

Show more Read less
Institution
CIS 2750
Module
CIS 2750









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CIS 2750
Module
CIS 2750

Document information

Uploaded on
March 25, 2025
Number of pages
10
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CIS 2750
Web App Architecture - Answer- 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 - Answer- sequence of software tools that convert src code to binary

GCC - Answer- GNU Compiler Collection

CPP - Answer- C Preprocessor
- interprets all # in .h .and .c files before compiler sees source code

C Compiler - Answer- compile src into assembly language (.i into .s)

[G]AS - Answer- Assembler
takes assembly code into object code (.s to .o)

LD - Answer- Linker
- stitches .o and referenced system libs into bin exe
- static libs are linked here (dynamic are at run time)

LD.SO - Answer- Loader
- tells OS to execute a program
- OS opens new program and copies segments into virtual memory process

DLOPEN - Answer- Loader
- Program using dynamically linked libs loaded by ld.so when program starts

Macros in Makefiles - Answer- $(THING) = flags/files/commands

CC = gcc - Answer- select GCC compiler as front end

CPPFLAGS - Answer- -Iinclude_file_dir (absolute)
-I~/myproj/include (relative and takes all system and own)
-Dsymbol (#define but in cmd line)
-DNDEBUG (disable assertions)

CFLAGS - Answer- Compiler Flags
-g (save symbols for debugger)
-Wall -std=c11
-fpic
-c

LDFLAGS - Answer- Linker Flags
-Llib_dir
-L~/myproj/lib
-llibrary

, -lfoo

Static lib - Answer- linked at compile time, inflexible, contents copied into exe

Dynamic lib - Answer- linked at run time
shared libs
flexible
default irl

Creating shared lib - Answer- gcc -c prog.c -o prog.o
gcc -shared -o libprog.so prog.o

Creating static lib - Answer- gcc prog.c prog.o -c
ar prog.o -o prog -lprog

XML - Answer- Extensible Markup Language

XML Design goals - Answer- - straightforward to use over internet
- supports lots of apps
- easy to write programs to process XML docs
- human legible, clear
- easy to create docs
- formal and concise
- compatible w/ SGML

XML strong points - Answer- - explicit structure for data manipulation
- decouples presentation from data
- can be used to glue together apps
- modular
- text that's not meant to be read

XML Elements - Answer- If contain other elements, those are child elements
<start tag>content</end tag>

<empty element/>

XML Attributes - Answer- Must not appear outside of start tags or empty element tags

<example name1="val1" name2="val2">content</example>

<example name="val"/>

XSD - Answer- XML Schema Definition (came after DTDs)

DTD - Answer- Document Type Definition

Valgrind - Answer- memory debugging tool, checks leaks, diagnoses memory errors

Valgrind definitely lost - Answer- leaking memory --> allocated and never freed

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Freshy Oxford University
Follow You need to be logged in order to follow users or courses
Sold
47
Member since
1 year
Number of followers
4
Documents
6784
Last sold
18 hours ago

3.6

9 reviews

5
3
4
3
3
1
2
0
1
2

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions