stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Principles of Coding Flashcards | StudBud
Explore
/
Principles of Coding
Principles of Coding
56 terms
·
StudBud Administration
·
230 plays
Imported from external platform
Flashcards
56 cards
F
Practice quiz
P
Host live
L
Questions
56
Answers
1
What’s the job of PHP? Or what does it do?
It Functions as middle ware between web servers, data bases
It Strengthens An Internet Connection
It Mediates Discussion Between A Web Server And Data Base
It Protects Data Bases From Hackers And Viruses
2
In CSS, what is the correct option to select all the <p> tags on a page?
p {}
.p {}
#p { }
<p>
3
How do you output "Hello World" in PHP?
"HELLO WORLD"
ECHO "HELLO WORLD"
DOCUMENT.WRITE "HELLO WORLD"
PHP "HELLO WORLD"
4
WHAT DOES TCP MEAN
TRANSMISSION CONTROL PROTOCOL
TRANSMISSION COMPUTER PROTOCOL
THE CONNAH PROTOCOL
TECHNICAL CONTROL PROTOCOL
5
What is the correct coding method for
grouping
CSS selectors together?
h1-h2-p { }
h1#h2#p { }
h1.h2.p { }
h1, h2, p { }
6
SMTP is used for what?
To transmit emails
To retrieve emails
7
Making sure that your business appears higher up on the relevant search engine is...
Search Engine Priority
Search Engine Optimisation
Banner Advertisements
Affiliate Programmes
8
CSS is used for presentation and layout of a web page
True
False
9
The page displayed by a search engine in response to a search query.
Off Page SEO
SEO
SERP
On Page SEO
10
Which of these sets of tags are correct? (Choose 2)
</body><body>
<head></head>
<head><head/>
<body></body>
11
What are the two key determinations that a search engine must make about your site?
Age and time since last update
Relative quality and age
Relevance and relative quality
Relevance and age
12
Line Breaks are inserted into your web document using the <br /> tag.
True
False
13
How do you align text to the center in CSS?
text-align:center;
<center> I am in the center </center>
<div align = "center"> I am in the center </div>
text:middle;
14
Are HTML tables coded in rows or columns?
Rows
Columns
Neither
Both
15
What is an algorithm?
The number of pixels in an inch
A list of steps that allow you to complete a task
The coding block that is used to "repeat" a certain command
An error in a computer program
16
What do CSS selectors allow you to do?
To select and apply style to HTML elements
To apply one style to the whole document
To select the text you want
To select the CSS
17
Define what is meant by "Computer Hardware?"
Coded programs that control how the computer works
Physical parts of a computer that you see, touch & pick up
Something that cannot be touched or picked up
Microsoft Office
18
Is this HTML or CSS?
CSS
HTML
19
Which of the following defines "Flow Control"?
Sequence, Selection, Iteration
Selection, Sequence, Iteration
Selection, Sequence, Imagination
Sequence, Secretion, Iteration
20
Which symbol do you use in CSS?
<
[
(
{
21
How do you change the font in CSS?
New-Font:Ubuntu;
Font:Ubuntu;
Text-Font:Ubuntu;
Font-Family:Ubuntu;
22
What must go at the beginning of a HTML File?
<!DOCTORTYPE html>
<!DOGTYPE html>
<!DOCTYPE html>
<!DOGETYPE html>
23
What is a pseudocode?
Simple programming language.
A text editor.
A structured method which can be compiled.
A way of writing programming code in English.
24
What does a router do?
Creates games.
Browse the web.
Finds directions to a place.
Sends data packets from one network to another.
25
Which tags are used to create lists in HTML?
<ordered list> <unordered list> <list item>
<ul> <ol> <li>
<list> <list item>
<l> <ul> <li>
26
Is this HTML or CSS?
CSS
HTML
27
How do you add an image in HTML?
<embed>
<img src>
<a href>
<title>
28
What does IP stand for?
Interesting Person
Internet Protocol
IT Panicmode
Interactive Photography
29
Which is the first step of Software Development ?
Requirements
Designing
Planning
Resource Gathering
30
Where is JavaScript run?
client-side
server-side
dns-side
network-side
31
What does a class selector consist of?
a full stop followed by the name of the class
a semicolon followed by the name of the class
superman followed by the name of the class
a colon followed by the name of the class
32
Complex web applications, like Google Maps, can be built with JavaScript.
TRUE
FALSE
33
A software application that enables a user to view web pages is called
Browser
Surfer
Protocol
Weber
34
Crawling is.....
Processing the web sites linking to facebook
none of the above
Processing the web pages linking to a website
processing hackers
35
What is HTML?
Scripting language for describing presentation of web pages
A markup language used to write web pages
A programming language for writing web applications
A protocol for communicating with web servers
36
Which of these is the last stage of the software development life cycle?
Maintenance
Testing
Evaluation
37
What is the appropriate defintion of FTP?
Allows files to be transferred on a POP based network
Allows files to be transferred on a TCP based network
Allows images to be transferred on a TCP based network
Allows files to be transferred on a ISP based network
38
Flowcharts use a diamond shape to represent a process.
False
True
39
What are meta tags?
A list of key words or concise phrases
Descriptions of locations on the website
A list of web pages
A list of links in and out of the website
40
A set of instructions that directs the computer hardware
CPU
software
input device
hardware
41
Which of the following cannot be classified as hardware used in Web Development
Web Server
Mail Server
Protocol
Router
42
How do you change the color of text in CSS?
font-color:blue;
text-color:blue;
background-color:blue;
color:blue;
43
Which one of the following can be used to embed programs within an HTML file?
Code written in CSS
Code written in an programming language
Code written in PHP
Code written in JavaScript
44
What type of CSS is used here?
Inline
Internal
External
Outwards
45
What is the element selector?
text-align
color
red
p
46
We need access to a web server to use the internet. Identify ONE role of a web server.
Hosts HTML documents and files
Displays multimedia content
Creates a unique address for files
Searches for content using HTTP
47
Which HTML tag allows you to create cell headings in your tables?
tr
th
td
thead
48
Which HTML attribute is used to define inline styles?
style
font
class
styles
49
Which of the following does a search engine
not
do?
web walking
indexing
searching
web crawling
50
What is a correct HTML for creating a hyperlink:
<a name="http://google.com"</a>
<a>http://google.com</a>
<a url="http://google.com">Google</a>
<a href="http://google.com">Google</a>
51
What is POP3?
Used to transmit emails
Used retrieve emails
52
A protocol used to transfer web pages from a web server to a user through the internet is
FTP
SMTP
HTTP
HTML
53
Which of these is NOT a valid HTML element?
<h1>
<h7>
<img>
<p>
54
Software program that travels the Web locating and indexing websites for search engines
RSS
VoIP
spider
HTML
55
What are the three aspects of search engines?
Crawling, Indexing, Searching
Coding, Indexing, Finding
Webbing, Querying, Indexing
Crawling, Webbing, Filing
56
PHP originally stood for?
PHP Hypertext Preprocessor
Practicing His Presence
Personal Home Page
Positive Helping Priest