ITE 100 - Student of Fortune

knifedamagingInternet και Εφαρμογές Web

2 Φεβ 2013 (πριν από 4 χρόνια και 6 μήνες)

116 εμφανίσεις

Identify the choice that best completes the statement or answers the
question.

1.
In computer programming, a(n) _________ allows the programmer to
examine the values of data variables at various places in the program and to
find and correct logic errors.

a.

error fixer

c.

variable analyzer

b.

debugger

d.

syntax analyzer





2.
____ language instructions use a series of binary digits (1s and 0s) or a
combination of numbers and letters that represent binary digits. This type of
language is tedious and difficu
lt to program. It is low
-
level or close to the
computer’s hardware.

a.

Machine

c.

Procedural

b.

Assembly

d.

Visual C++





3.
To develop a properly structured computer program, the programmer must
ensure that the program and each of its modules and its c
ontrol structures
have the following features:

a.

No dead code, no loops, infinite
loops

c.

Infinite loops, multiple entry
points

b.

No dead code, no infinite loops,
single entry & single exit to and
from a software module

d.

No loops, multiple exit poin
ts





4.
The _________ Markup Language separates the Web page content from
its format, allowing your browser to display Web page content in a form
appropriate for your computer display device. For example, a handheld
computer, a notebook computer, and a
desktop computer could all display
the same Web page.

a.

HTML

c.

XML

b.

DHTML

d.

XHTML





5.
Borland’s _______ is a powerful visual programming tool that is ideal for
large
-
scale enterprise and Web application development. Programmers can
use it to deve
lop programs quickly for Windows, Linux, and .NET
platforms.

a.

C++

c.

Delphi

b.

Visual Basic

d.

COBOL





6.
The machine language code that results from compiling a 3rd Generation
Language (3GL) program such as C is called ____.

a.

dead code

c.

dynami
c code

b.

source code

d.

object code





7.
An advantage of an computer software interpreter such as that in Java is
that ____.

a.

when it finds errors, it displays feedback immediately

b.

interpreted programs run faster than compiled programs

c.

an i
nterpreter produces an object program

d.

None of the above





8.
All of the following are widely used computer programming languages
(non
-
scripting) that the software development industry recognizes as
standards except ____.

a.

Visual Basic .NET

c.

C++

b.

Java

d.

HTML / XHTML / XML





9.
In object
-
oriented software development, an object may be part of a larger
category of objects called a(n) ___________. (a Ford is an instance of the
_______Automobile)

a.

class

c.

event

b.

instance

d.

message





10.
A(n) ____ is an action to which an object oriented programming (OOP)
language program such as Java, C++ or Visual Basic.NET responds.

a.

wake
-
up call

c.

jolt

b.

event

d.

mouse
-
over



11.
____ is a set of technologies by Sun Microsystems that allows

programmers to develop and deploy Web services for a large business.

a.

JIT (Just In Time compiler for Java)

b.

JavaScript scripting language

c.

J2EE (Java 2 Platform Enterprise Edition)

d.

JBuilder, JCreator, and JGrasp





12.
____ is a set of techn
ologies from Microsoft that allows almost any type
of program to run on the Internet or an internal business network.

a.

.JIT

c.

.NET

b.

Java

d.

.ALL




13.
Because it is supposedly easy to learn and use, ____ is an introductory
language for beginning pr
ogrammers.

a.

Visual Basic .NET

c.

C++

b.

Assembly Language
(MicroAssembler)

d.

Java



14.
____ is a visual programming language built on the Microsoft .NET
platform that takes the complexity out of C++.

a.

Visual C++

c.

Visual COBOL

b.

Visual C#

d.

V
isual Java





15.
______ was developed by IBM as a procedural interpreted scripting
language for both the professional programmer and the nontechnical user.
In addition to all IBM operating systems, ______ works with Windows,
Mac OS X, and most UNIX op
erating systems.

a.

Ruby on Rails

c.

Raptor

b.

Rexx

d.

Rapper





16.
________ is a subset of the Visual Basic language that allows
programmers to add intelligence and interactivity to Web pages. As with
JavaScript, Web developers embed code from this la
nguage directly into an
HTML document. The latest version of the Internet Explorer browser
includes this language.

a.

Basic

c.

VBScript

b.

Perl

d.

PHP





17.
_______is a free, open source scripting language. It is similar to C and
Java and is used pri
marily on Linux Web servers. Web developers may
create dynamic Web pages by inserting scripts from this language along
with HTML in a Web page.

a.

VBScript

c.

Perl

b.

DHTML

d.

PHP





18.
_______, which stands for Asynchronous Javascript and XML, is a
m
ethod for creating interactive Web applications designed to provide
immediate response to user requests. It works with the Web browser to
update only changes to the Web page. Web sites that use this are Google
Maps and Flickr.

a.

ASynchJava

c.

AJXML

b.

A
Java

d.

Ajax





19.
_________ is a strategy that proposes that programmers shold
immediately begin coding and testing solutions as soon as requirements are
defined. The code continually is tested and refined until it works, (Page
695, Chapter 13 of tex
tbook)

a.

Extreme programming (XP)

c.

Quick programming (QP)

b.

Brief programming (BP)

d.

Rapid programmng (RP)





20.
Examples of HTML ____ are <b> to bold text, <p> to indicate a new
paragraph, and </hr> to display a horizontal line across the page or

a
scrolling marquee <marquee> Start at NOVA </marquee>

a.


angle brackets

c.

widgets

b.

wickets

d.

tags





21
.

A(n) ____ is an interpreted program that runs on the client computer.

a.

JavaScript script

c.

applet

b.

servlet

d.

image map





22.
A(n) _
___ is a compiled program that runs on the client computer.

a.

script

c.

Java applet

b.

servlet

d.

image map





23.
A(n) ____ is an interpreted program that runs on the server computer.

a.

script

c.

applet

b.

servlet

d.

image map





24.
The ____ is th
e communications standard that defines how a Web server
communicates with outside sources.

a.

RPG (report program generator)

b.

VPE (visual programming environment)

c.

SQL (structured query language)

d.

CGI (Common Gateway Interface) script





25.
All

of the following are server
-
side programming languages except
______

a.

Javascript

c.

ASP.NET

b.

ASP

d.

PHP





26.
Typically, dynamic Web pages created with DHTML are ____ to user
interaction.

a.

less animated and responsive

c.

more animated but less
r
esponsive

b.

less animated but more
responsive

d.

more animated and more
responsive





27.
____ contain the formats for how a particular object should display in a
Web browser.

a.

Cascading Style Sheets (CSS)

c.

Document object models (DOM)

b.

Report p
rogram generators
(RPG)

d.

Common Gateway Interfaces
(CGI)





28.
XML works with ______ which is a language for creating a stylesheet
that describes how to present the data described in the XML document in a
Web page. Using _____, you could tell a Web b
rowser to display any data
in the element <name> as left
-
aligned text.

a.

PSL (Programmable Stylesheet)

c.

CSL (Combined Stylesheet)

b.

XSL (Extensible Stylesheet)

d.

DSL (Displayable Stylesheet)





29.
_______ is an extension of (the answer in Question

78) above which is
used to create stylesheets that describe how to transform XML documents
into other type of documents.

When a device requests a page from a Web site built with XML, a CGI
script can detect what device has requested the page from the serv
er. The
server then uses the format described in the _____ document to transform
the XML into the proper format for a cellphone microbrowser or an HTML
Web page. (p. 698 of book)

a.

PSL Programmable Stylesheet
Language

c.

CSL Combined Stylesheet
Language

b.

DSL Document Stylesheet
Language

d.

XSLT (Extensible Style
Language Tranformations)





30.
________ by Microsoft, is a Web page authoring program that also
enables Web developers to combine interactive content with text, graphics,
audio, and video. B
ased on the .NET Framework, this program works with a
variety of languages such as JavaScript, Ruby, C#, and Visual Basic.

a.

Web Page Author

c.

Silverlight

b.

Web Site Designer .NET

d.

Web Page Publisher





31.
In the proper sequence, the program devel
opment cycle consists of six
(6) steps:

a.

validate design, test solution, design solution, implement design,
analyze requirements, and document solution

b.

implement design, document solution, test solution, validate design,
design solution, and a
nalyze requirements

c.

analyze requirements, design solution, validate design, implement
design, test solution, and document solution

d.

test solution, analyze requirements, document solution, implement
design, validate design, and design solution





3
2.
When computer programmers correct errors or add enhancements to
existing programs they are ____ the software.

a.

executing

c.

coding

b.

maintaining and modifying

d.

validating





33.
____ is an object
-
oriented programming language that has been accep
ted
as a standard for Web applications and XML
-
based Web services. This
language uses a JIT compiler like Java but its resulting code is called MSIL.

a.

C# (Cee
-
sharp)

c.

F# (EFF
-
sharp)

b.

B# (Bee
-
sharp!)

d.

D# (Dee
-
sharp)





34.
A(n) ____, also call
ed program logic, is a graphical or written
description of the step
-
by
-
step procedures to solve the problem.

a.

object model

c.

solution algorithm

b.

cascading style sheet

d.

source code





35.
In structured design, a section of a computer program that
performs a
single function is a ____.

a.

main routine

c.

hunk of code

b.

chunk of code

d.

module





36.

In object
-
oriented design (OOD), the concept of packaging data and
procedures(methods) into a single object is called ____.

a.

covering

c.

blanketin
g

b.

encapsulation

d.

consolidation





37.
A ____ shows one or more actions following each other in order.

a.

sequence control structure

c.

repetition control structure

b.

selection control structure

d.

compliance control structure




38.
A ____, whic
h is illustrated in the above figure, tells the program which
action to take, based on a certain condition.

a.

sequence control structure

c.

repetition control structure

b.

selection control structure

d.

compliance control structure





39.
When a progra
m evaluates a condition in a(n) ____, which is illustrated
in the accompanying figure, it yields one of two possibilities: true or false.

a.

if
-
then
-
else control structure

c.

do
-
while control structure

b.

case control structure

d.

do
-
until control struct
ure





40.
Unlike the control structure illustrated in the figure above, with the ____
a condition can yield one of three or more possibilities. It handles a variety
of conditions.

a.

if
-
then
-
else control structure

c.

do
-
while control structure

b.

case

control structure

d.

do
-
until control structure





41.


Given the following pseudocode fragment of a computer program,

what are the values of COUNTER and SUM when

they are printed in the PRINT statement?



COUNTER = 0

SUM = 0

WHILE (COUNTER < 1
1)


COUNTER = COUNTER + 1


SUM = SUM + COUNTER

END WHILE

PRINT COUNTER, SUM



a.

COUNT = 10 SUM = 47

c.

COUNT = 11 SUM = 66

b.

COUNT = 11 SUM = 56

d.

COUNT = 12 SUM = 77





42.

A(n) ____ tests a condition at the beginning of the loop and repeats
one or more times as long as the condition is true.

a.

for loop

c.

do
-
while control structure

b.

case control structure

d.

do
-
until control structure





43.
The ____ tests a cond
ition at the end of the loop and continues looping
until the condition is true


and then stops. This main actions in the
structure are always done at least one time.

a.

if
-
then
-
else control structure

c.

do
-
while control structure

b.

case control structur
e

d.

do
-
until control structure





44.
With _______, the beginning and end of a software module start at the
left margin, and actions within the module are indented. This type of code
has often been called a combination of English and your favorite
pr
ogramming language. It cannot be run (executed).

a.

Perl

c.

Python

b.

PHP

d.

pseudocode





45.
Give the following computer program logic, which statement is
displayed on the computer’s monitor ?

int A = 200; int B = 100; int C = 400; // Variable
s A,B & C are integer
numbers (no decimals)

if (( A >= B) AND (C > 300) )


PRINT “Geeks like Gateway computers”

else


PRINT “Dweebs prefer Dell computers”



a.

Dweebs prefer Dell computers

c.

Geeks like Gateway computers

b.

nothing is displayed
on the
d.

both statements are displayed

monitor





46.
Given the following count
-
controlled loop in the logic of a computer
program, what is the value of the computed SUM that is printed after the
loop terminates ?


Hint: You could use the sequential se
ries summation formula: SUM = N x
(N + 1) / 2

Note: This was discussed during a lecture on Chapter 13 concerning loops

SUM = 0 // Set accumulator variable, SUM, to zero

FOR I = 1 TO 20


SUM = SUM + I // Add up the numbers: 1+2
+3 + ...+ 20

NEXT I

PRINT SUM

a.

200

c.

220

b.

210

d.

240





47.
Syntax errors (errors which violate rules of the programming language)
will be caused by all of the following except ____.

a.

misspelling a command

c.

typing command words out of
order

b
.

leaving out required punctuation

d.

using a proper do
-
until loop





48.
One reason to use good and bad test data when testing computer
software is to try to cause a ____, which is an error that occurs while a
program is running.

a.

run
-
time error

c.

debugger error

b.

syntax error

d.

logic error





49.
______ is an open source framework that provides technologies for
developing object
-
oriented, database
-
driven Web sites. It is derived from
languages such as Ada, LISP, Perl, and Smalltalk. Web devel
opers are more
productive because they have an easy
-
to
-
use environment for the Web
development process. (Page 683 of textbook)

a.

Ajax

c.

Javascript

b.

Ruby on Rails (RoR)

d.

XML





50.
Given the following DO WHILE loop in the pseudocode logic of a
com
puter program, how many times does the program go through the loop
and print the indicated statements ?



int N = 4


WHILE ( N <= 24)


{


PRINT “KNOWLEDGE IS POWER ... STUDY AT NOVA...”


PRINT “HOPE TO SEE YOU IN THE FUTURE”


PR
INT “CHECK THE NovaConnect Student Info System for your
GRADE”


N = N + 4


}



// END WHILE



a.


3

b.


4

c.


5

d.


6