stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Fundamentals of computing Flashcards | StudBud
Explore
/
Fundamentals of computing
Fundamentals of computing
25 terms
·
StudBud Administration
·
3 plays
Imported from external platform
Flashcards
25 cards
F
Practice quiz
P
Host live
L
Questions
25
Answers
1
Where does JavaScript typically run in a standard web app?
In the DNS server
On the server only
In the database
In the user's browser
2
In a client-server model, which is TRUE?
Client sends requests, server responds
DB only responds to user input
Server requests data from client
Client provides the DB
3
What is the main difference between a static web page and a dynamic web page?
Static pages can only use HTML; dynamic pages can use CSS
Static pages require a server; dynamic can be hosted anywhere
Static pages don’t change unless code is modified; dynamic can update
Static pages look different every time; dynamic never changes
4
Which is an example of a NoSQL database?
PostgreSQL
SQLite
MongoDB
MySQL
5
What is the request called when a user clicks a link?
GET request
DNS request
SMTP handshake
Database query
6
Which of these statements about Python is true?
It cannot connect to databases
It is a markup language for web pages
It is a high-level language for back-end and more
It only runs in web browsers
7
Which flow best represents a dynamic web page?
Browser→Python→ISP→User
Browser→HTML→DB→OS
Browser→Server→Python→DB→Browser
Browser→DNS→DB→Browser
8
Which Python command installs packages like Flask?
brew install Flask
pip install Flask
apt-get Flask
python install Flask
9
What role does DNS play in a web application?
Encrypts data
Stores user account data
Handles logic for dynamic pages
Translates domain names to IPs
10
Which protocol is primarily used to send emails?
POP3
SMTP
FTP
HTTPS
11
How does a DB connection typically work in a Python web app?
The browser directly queries the database
OS handles all queries and returns a page
Python queries DB, processes data, returns it to the browser
DB updates page without requests
12
Which is an example of a Python web framework?
Angular
HTML
React
Django
13
What is HTML primarily used for?
Making the webpage interactive
Configuring network settings
Connecting to a database
Structuring and marking up content on a web page
14
What is a risk if a site does not use HTTPS?
Data is encrypted
Site won't load
Data could be intercepted
DNS won't resolve
15
Which protocol securely transfers web pages with encryption?
HTTP
SMTP
HTTPS
DNS
16
Which of the following best describes a web browser?
A programming language for creating web applications
A software application that retrieves and displays web pages
A program that translates human-friendly URLs to IP addresses
A server that stores and sends web pages to users
17
When JS updates a page without a full reload, which technique is used?
AJAX (or Fetch API)
DNS resolution
SMTP protocol
SQL queries
18
Why use a templating engine in a Python web app?
To generate HTML dynamically
To store large data
To convert Python to machine code
To handle DNS lookups
19
In Flask, what does @app.route('/') usually do?
Handles the root URL request
Defines a DNS record
Encrypts data by default
Starts the server on port 80
20
If an API returns JSON, what does JSON stand for?
Java Scripting Over Network
JavaScript Object Notation
Joint Statement of Operations and Numbers
Just Some Ordinary Notation
21
What is an advantage of using Flask/Django?
They provide DNS resolution
They remove need for HTML
They only work for static sites
They simplify requests and DB interactions
22
Which is NOT a commonly used DB for Python web apps?
SQLite
DNS
MySQL
PostgreSQL
23
Which is true about CSS?
Used for domain name management
Used to add interactivity
Stands for Cascading Style Sheets
It is a back-end Python framework
24
Which language is used to add interactivity in the browser?
Python
JavaScript
C++
Java
25
What does API stand for?
Application Programming Interface
Automated Protocol Interaction
Advanced Page Integration
Asynchronous Page Identifier