Exam 1 Flashcards

1
Q

What is the client-server compute model?

A

A computer network diagram of clients communicating with a server via the internet.

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

What are the advantages of the client-server compute model?

A

Some advantages of the client-server model include: a centralized system with all data in a single place, cost-efficient, requires less maintenance, data is recoverable, and the capacity of the client and servers can be interchangeable.

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

What is a communication protocol?

A

A communication protocol is a set of formal rules that describe how to transmit or exchange data across a network

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

What is the role of the Link layer?

A

responsible for the physical transmission of data across media ( packet creation, reception, error detection, collisions, line sharing, etc )

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

What is the role of the Internet layer?

A

transports network packets from the originating host across network boundaries to the destination host specified by an IP address

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

What is the role of the Transport layer?

A

Provides reliable delivery of data to the destination host, error recovery, and resending data segments that had an error

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

What is the role of the Application layer?

A

Provides services that directly support user applications such as database access (SQL), email transfer(SMTP), and file transfer (FTP).

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

What data is stored in routing tables, and what is their purpose?

A

Routing tables have destination addresses, subnet masks, interfaces, and metrics. Its purpose is to list particular network destinations to route towards.

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

What is the difference between IPv4 and IPv6?

A

IPv4 addresses are in 32-bit type binary format while IPv6 is designed in 128-bit form. More differences include encryption and authentication, IP classes, and address fields.

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

Name 3 different application protocols and their use

A

Application protocols include: telnet (helps clients manage files), FTP (sharing files via remote computers), SMTP (mailing protocol)

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

What is the purpose of DNS(domain name resolution)?

A

The purpose of DNS is to translate a domain name into the appropriate IP address

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

What is the purpose of a host file?

A

to map a connection between an IP address and domain names before going to domain name servers

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

What restrictions are there for hostnames?

A

The hierarchy goes from right to left with a max of 127 levels, each level can have 63 characters, cannot exceed 255 characters, limited to the use of case-insensitive letters, numbers, and hyphens

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

What is the generic top-level domain?

A

Examples include .com, .net, and .org

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

What is the difference in functionality between a Primary DNS and a root name server?

A

The primary DNS server deals with authoritative information for a specific domain and manages the corresponding zone file, while root name servers are responsible for directing DNS queries to the appropriate top-level domain name server

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

Why is domain name resolution considered to be recursive?

A

The domain name resolution is considered to be recursive because the process involves making requests and inquiries to various DNS servers, each of which may not have the information needed to fully resolve the domain name.

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

Is the DNS system case-sensitive?

A

No, DNS is not case sensitive, as typing in google.com and Google.com will yield the same results.

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

What is a URL? Give an example containing protocol, domain, and path

A

URL stands for uniform resource locators, and an example is https://www.google.com/maps (the protocol is: HTTP, domain is: www.google.com, and the path is: /maps)

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

Give an example of a URL query string including delimiters

A

?query=example&category=1

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

What does HTTP stand for?

A

HTTP stands for hypertext transfer protocol

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

What is the difference between HTTP and HTML?

A

HTTP is an application protocol that allows users to communicate data over the web, while HTML makes up the structures of a web page

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

Why is HTTP considered stateless?

A

HTTP is considered stateless because each request from a client to a server is independent and unrelated to any previous or future requests.

22
Q

Why is HTTP considered connectionless?

A

HTTP is considered connectionless because there isn’t a persistent connection between the client and the server. After each request is made and a response is given, the connection is closed.

23
Q

Name two HTTP client request methods

A

GET, PUT, POST, DELETE, OPTIONS

24
Q

What are the differences between HTTP requests and response headers?

A

Request headers include data about the client machine, while response headers have information about the server answering the request, so the data can be sent.

25
Q

List 5 different response codes and their meaning

A

200: OK response, 301: removed permanently, 307: temporary redirect, 400: bad request, 401: Unauthorized, 404: Not found

26
Q

What is the difference between HTTP and HTTPS?

A

HTTP is an application protocol that is unsecured, while HTTPS is more secure, using SSL/TLS to encrypt data

27
Q

What is the main function of a web browser?

A

The main function of a web browser is for a user to interact with, and explore.

28
Q

list 3 additional features provided by browsers

A

search engine integration, URL autocompletion, form auto-completion, cloud caching of user history/bookmarks, phishing website detection

29
Q

What is the waterfall model?

A

The waterfall model is a linear, sequential approach to the software development lifecycle

30
Q

List the 6 phases of the waterfall model in order

A

requirement analysis > system design > implementation > testing > deployment > maintenance

31
Q

What characteristics should a project have to be a good candidate for the waterfall model?

A

A software project should use the waterfall model when requirements are very well documented, product definition is stable, technology is understood and not dynamic, no ambiguous requirements, ample resources, and a short project.

32
Q

What are the advantages of the waterfall model?

A

The advantages of the waterfall model are that it’s simple to understand and use, easy to manage, phases are completed one at a time, clearly defined stages, easy to arrange tasks, process and results are well documented, etc.

33
Q

What are the disadvantages of the waterfall model?

A

The disadvantages of the waterfall model are that there is no working software until later in the cycle, high amounts of risk and uncertainty, not a good model for complex projects, difficult to measure progress within stages, cannot accommodate changing requirements, and that integration is done at the end.

34
Q

List and describe 5 characteristics of a good requirements specification

A

5 characteristics of a good requirement specification for the waterfall model include complete requirements (nothing open-ended), testable (creating a test for all requirements), consistent, design free, and unambiguous.

35
Q

What is the focus of the system design phase?

A

The focus of the system design phase is to concentrate on how things will work (creating the design for your solution).

36
Q

List and define the three principles of object-orientated design

A

3 principles include encapsulation(grouping of related ideas into one unit), inheritance(making subclasses that derive from other classes as a refinement of the parent class), and polymorphism(the ability of an object to take on many forms).

37
Q

What is the difference between testing and debugging?

A

Testing is determining if the software contains bugs, while debugging, finds the bug in the code so it can be fixed

38
Q

What are syntax errors?

A

Syntax errors mean that you have a typo or wrote something the compiler didn’t understand

39
Q

What are run-time errors?

A

Run-time errors mean that your program crashes during execution

40
Q

What are logic errors?

A

Logic errors are when your program produces an undesired output or does what it’s supposed to

41
Q

What software properties should testing help ensure?

A

Testing helps ensure the software meets the requirements that guided its design, responds correctly to all kinds of input, performs its functions within an acceptable time, is sufficiently usable, can be installed and run in its intended environments, and achieves the general result its stakeholder’s desire

42
Q

What is defect clustering?

A

Is an empirical observation in software development that some modules may cause more defects, in which addresses the issue.

43
Q

Why is exhaustive testing not possible?

A

Exhaustive testing is not possible because the project execution time and cost would rise exponentially.

44
Q

What is the pesticide paradox?

A

The pesticide paradox is when the same tests are repeated over and over again, where your original test cases will no longer find any new bugs

45
Q

What is unit testing?

A

Unit testing verifies the functionality of a specific section of code, usually at the function level.

46
Q

What is black-box testing?

A

Black-box testing is when an individual tests a project to examine the functionality without the knowledge of how the methods work

47
Q

What is white-box testing?

A

White-box testing tests every single line of code in a program. (Checking internal structures or workings of an application)

48
Q

What are the benefits of using a version control system?

A

Version control system has benefits such as managing code by many individuals in a group, undoing changes, code review, auditing, backup, etc.

49
Q

What is HTML?

A

HTML is a hypertext markup language that creates the structure of web pages

50
Q

What are the components of an HTML element?

A

Components of an HTML element include opening tags, closing tags, content, elements, attributes, and self-closing tags

51
Q

Give an example of HTML element nesting

A

HTML element nesting refers to putting an HTML element inside another. This creates a hierarchical relationship between elements.

52
Q

What is integration testing?

A

Integration testing is where individual components or modules are combined and tested as a group to ensure they work together as intended.