Docsity

Data Hashing and Networking Concepts, Quizzes of Computer Science

Toggle sidebar
bg1
1.3 Exc hanging data extra
1
Q
Explain some reasons there might appear to still be duplicates when hashing with images
A
Hashing works on the data / bits (1)
and so two images may appear the
same but not be identical at a bit level
(1). This could be because they are
different file types (1) / different sizes
(1). Even the change of a single bit
may result in a completely different
hash (1)
2
Q
Lossy compression on text
A
Text loss means it will be undreadable
3
Q
For dictionary coding, instead of tokens what word should you use
A
Tokens or smaller groups of characters
4
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Data Hashing and Networking Concepts and more Quizzes Computer Science in PDF only on Docsity!

1.3 Exchanging data extra

Q

Explain some reasons there might appear to still be duplicates when hashing with images A Hashing works on the data / bits (1) and so two images may appear the same but not be identical at a bit level (1). This could be because they are different file types (1) / different sizes (1). Even the change of a single bit may result in a completely different hash (1) 2 Q Lossy compression on text A Text loss means it will be undreadable 3 Q For dictionary coding, instead of tokens what word should you use A Tokens or smaller groups of characters 4

Q

Explain why asymmetric encryption is more suited to transactions over the internet than symmetric encryption A Any four from: Symmetric encryption would require both parties to have copy of the key (1) this couldn’t be transmitted over the internet or an eavesdropper monitoring the message may see it (1) Asymmetric gets round this requirement as there are two different keys (1) One key encrypts the data (1) which can be publically distributed (1) and a different key to decrypt it (1) which is kept private ( 5 Q What is a primary key A A field that has a unique value / a unique identifier (1) for every record in that table (1) 6 Q What is the problem with many to many relationships A

What is meant by the term hash A A result generated by applying an algorithm / numeric process to a value. (1) 11 Q What is a bridge A –Provides a link between (local area) networks –To connect the student and / or teacher and / or administration networks together. 12 Q What is a gateway A –Provides a link between two dissimilar networks –Links the school networks to the Internet 13 Q Firewalls A Restrict access to websites and applications

Q

Where does client side processing take plac e A Client side processing takes place in the web browser. 15 Q Where does server side processing take place A on the webserver. Data is sent from the browser to the server, the server processes it and sends the output back to the browser 16 Q What does client side processing not require A Data to be sent back and forth meaning code is much more responsive 17 Q Is code visible or invisible with client side processing Study These Flashcards

processing puts extra load on the server. This is at the cost of the company hosting the website 21 Q When is client side processing best used Study These Flashcards A Client side processing is best used when it’s not critical code that runs or where a quick response is needed 22 Q When is server side processing best used Study These Flashcards A Server side processing is best used where it is integral that processing is carried out. It is often used for generating content 23 Q When is server side processing often used Study These Flashcards A to access data including secure data. For this reason any data

passed to it has to be checked carefully 24 Q What do hackers get access to in relation to hash Study These Flashcards A The hash value which cannot be reversed to the key 25 Q What is HTTP? Study These Flashcards A An application layer protocol that facilitates clients requesting information from servers. Each HTTP request by a client expects a HTTP response from the server. 26 Q What are the Get and Post requests? Study These Flashcards A The two main types of HTTP request. Get requests are supposed to be harmless and repeatable and can be bookmarked. Post requests are for when a change is meant occur (e.g. create, update or destroy operations). 27 Q What is the URL (Uniform Resource Locator)?

Q

How does javascript allow dynamic web pages Study These Flashcards A Modern JavaScript can execute HTTP requests without the need to reload the page. This makes it possible to create dynamic web applications 32 Q Uses of server side processing on the web Study These Flashcards A Accessing a database Security and authentication Search engines Cloud services Hosting APIs (see later slides) 33 Q Uses of server side processing elsewhere Study These Flashcards A Traditional file storage (e.g. a NAS) Infrastructure (for LANs and WANs) Virtual machines for thin clients 34

Q

Advantages of server side processing Study These Flashcards A Can access secure data and control what the client sees. Should be far more secure against code manipulation. The server is probably more powerful than the client so can potentially tackle heavy workloads in less time. 35 Q Uses of Client side on web side? Study These Flashcards A Interactivity without page reloads Validation rules Animations, games, etc. Responsive design Any ā€˜offline’ abilities 36 Q Study These Flashcards A 37 Q Study These Flashcards