• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 32 pages
Exam (elaborations)

CIS 2750 Final Exam With Complete Solution

Document preview thumbnail
Preview 4 out of 32 pages

CIS 2750 Final Exam With Complete Solution...

Content preview

CIS 2750 Final Exam With
Complete Solution

Protocol Stack - ANSWER Lowest Levels - Communicate bytes/packets
between computers

Higher Levels - Fault Tolerance

Highest Levels - Application Specific

Internet Protocol (IP) - ANSWER Relays datagrams across networks

Routing functionality

Basis of The Internet

Transmission Control Protocol (TCP) - ANSWER Adds reliability, ordering,
and error checking

User Datagram Protocol (UDP) - ANSWER Doesn't include the reliability,
Faster, Used on gaming

Early Applications of HTTP - ANSWER Military Communications, Personal
Communications (E-mail, Net-news, Bulleting boards, Early social media,
Early hypertext: archie, veronica, gopher)

What does HTTP stand for? - ANSWER Hypertext transmission protocol

What does SQL stand for? - ANSWER Structured Query Language

Pros of Standards - ANSWER Reduce training costs,

Promotes application portability, Promotes application longevity,

,Intersystem communications (Different management systems function well
on a single database if they support the same interface), Customer Choice
(Customers choose an interface to meet their needs)

Cons of Standards - ANSWER Reduce creativity, Flaws in the design of SQL

What is SQL used for? - ANSWER Used to define, manipulate, and control
data in relational databases

Relative Database - ANSWER A database that is perceived as a collection of
tables by the user.

Table - ANSWER An unordered collection of rows

How can SQL statements be invoked? - ANSWER Can be invoked interactively
or from within an application

SELECT - ANSWER Used for data retrieval

Syntax of Complete Call:

SELECT S.CITY

FROM S

WHERE S.SNO = 'S4'

FROM - ANSWER Indicates the table to retrieve from

WHERE - ANSWER Used to describe column features that are desired in
retrieved data

Can use all comparisons

Strings must be in single quotes

,What happens if there is no WHERE? - ANSWER Returns all of the rows

CREATE TABLE - ANSWER Constructs an empty table

Must provide a table name and unique column names

Syntax of Complete Call:

CREATE TABLE S ( SNO CHAR(5),SNAME CHAR(20),STATUS DECIMAL(3),CITY
CHAR(15),PRIMARY KEY (SNO) )




Primary Keys - ANSWER Columns described as primary key cannot have two
columns with the same column value




Composite Key - ANSWER Primary key consisting of more than one column
(values unique in combination)




Foreign Key - ANSWER A primary key of one table that appears an attribute
in another table and acts to provide a logical relationship among the two
tables




INSERT - ANSWER Adds a new row




Syntax:

INSERT

, INTO SP ( SNO, PNO, QTY)

VALUES ( 'S4', 'P1', 1000)




UPDATE - ANSWER Change values in existing records




Syntax of Complete Call:




UPDATE S

SET STATUS = 2 * S.STATUS

WHERE S.CITY = 'London'




DELETE - ANSWER Remove row(s)




Syntax of Complete Call:




DELETE

FROM P

WHERE P.WEIGHT > 15




DISTINCT - ANSWER No duplicate rows

Document information

Uploaded on
January 15, 2025
Number of pages
32
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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.
Newsolution
3.9
(59)
Sold
306
Followers
196
Items
2582
Last sold
3 months ago




Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right 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 aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions