4 Pages

T12910_S07_w_ans

Course: TSTS 2910, Fall 2009
School: ETSU
Rating:
 
 
 
 
 

Word Count: 1314

Document Preview

of Portion test Written: Code Modification: Debug/Coding: Total: Points Points Points possible missed correct 50 25 25 100 Student's Name: ___________________________ East Tennessee State University Department of Computer and Information Sciences CSCI 2910 (Tarnoff) Server/Client Side Programming TEST 1 for Spring Semester, 2007 Read this before starting! The total possible score for this test is 100...

Register Now

Unformatted Document Excerpt

Coursehero >> Tennessee >> ETSU >> TSTS 2910

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
of Portion test Written: Code Modification: Debug/Coding: Total: Points Points Points possible missed correct 50 25 25 100 Student's Name: ___________________________ East Tennessee State University Department of Computer and Information Sciences CSCI 2910 (Tarnoff) Server/Client Side Programming TEST 1 for Spring Semester, 2007 Read this before starting! The total possible score for this test is 100 points. This test is closed book and closed notes The test consists of two parts: a 50 point written portion (this document) and a 50 point computerbased portion. You must complete the written portion of the exam before you are able to begin the computer-based portion. For the written portion, all answers must be placed in space provided. Failure to do so will result in no credit for answer. If you perform written work on the back of a page in this test, indicate that you have done so in case the need arises for partial credit to be determined. For the computer-based portion, you are allowed to use only the following applications on your lab PC: o Either Dreamweaver or Notepad for editing your web pages o A browser of your choice for viewing the web pages youve created and accessing www.devguru.com as a reference. No other searching or browsing should be necessary and therefore is prohibited. Statement regarding academic misconduct from Section 5.7 of the East Tennessee State University Faculty Handbook, June 1, 2001: "Academic misconduct will be subject to disciplinary action. Any act of dishonesty in academic work constitutes academic misconduct. This includes plagiarism, the changing of falsifying of any academic documents or materials, cheating, and the giving or receiving of unauthorized aid in tests, examinations, or other assigned school work. Penalties for academic misconduct will vary with the seriousness of the offense and may include, but are not limited to: a grade of 'F' on the work in question, a grade of 'F' of the course, reprimand, probation, suspension, and expulsion. For a second academic offense the penalty is permanent expulsion." THE TEST STARTS HERE1 Short-ish Answer (2 points each unless otherwise noted) 1. When using style sheets, the measurement 32px represents what specifically? 32 pixels a length/width/height measurement on a display 2. Write the beginning paragraph tag that uses an in-line style attribute to set the paragraph's font-size to 24 points (24pt) and color to red. (3 points) <p style = "font-size:24pt; color:red"> 3. In order to set the style for a single paragraph within a page, which of the following types of style sheets is preferred? a.) in-line b.) embedded c.) linked d.) imported 4. In order to set the style for all paragraphs on the pages of a multi-page web site, which of the following types of style sheets is preferred? a.) in-line b.) embedded c.) linked d.) imported Imported would also work, but it isn't the preferred choice for external style sheets. 5. Name two of the five benefits discussed in class of style sheets. (3 points) From the CSS Refresher Worksheets (http://faculty.etsu.edu/tarnoff/ntes2910/CSS/CSS_worksheets.pdf) we have: 6. Search engine spiders parse for keywords in <h1>, <h2>, <h3>, etc. tags making it important to use them instead of images. CSS allows us to effectively use header tags. Easier site maintenance to change the look of an entire web site, changes need only be made in a single place. Removing formatting makes for smaller HTML files. CSS allows for a greater number of attributes (typography, spacing, and layout) to modify. Improved placement and spacing control replacing unreliable frames and cumbersome tables. Separates content from presentation With font tags removed, the XHTML source code is more readable. Not mentioned, but also of importance are: For each of the characteristics shown below, identify whether the statement better describes a compiled program or an interpreted program. (1 point each) Compiled Interpreted X X X Is the faster of the two types of programs Can hide the code from the client Is more likely to be platform independent 7. Which of the following is the proper syntax for a defining class attribute selector to be applied to any paragraph tag identified using the class attribute "note", i.e., <p class="note">? a.) p:note b.) p@note c.) p.note d.) p note e.) p#note f.) p!note 8. Which of the following is the proper syntax for defining a contextual selector to be applied to any <em> tag when it appears within <p>...</p> tags, i.e., <p>...<em>...</em>...</p>? a.) p:em b.) p@em c.) p.em d.) p em e.) p#em f.) p!em 9. Regarding the method for embedding quotation marks in JavaScript, which of the following methods is syntactically correct? (Circle all that apply.) (3 points) a.) b.) c.) d.) e.) document.writeln('<h1 align="center">Insert Page Title Here</a>'); document.writeln("<h1 align=\"center\">Insert Page Title Here</a>"); document.writeln("<h1 align='center'>Insert Page Title Here</a>"); document.writeln("<h1 align=/"center/">Insert Page Title Here</a>"); document.writeln("<h1 align="center">Insert Page Title Here</a>"); 10. Each line of a JavaScript program must be terminated with the character: (Yes, I know there were two answers.) a.) ; b.) ; c.) # d.) < e.) ~ f.) . g.) ' h.) no termination needed 11. If the string email_string does not contain the symbol "@", what would the return value be for the JavaScript code email_string.indexOf("@") be? If the character is not found in the string, indexOf() returns a 1. 12. The keyword ____ is used to identify the current instance being created by an object's constructor. a.) this b.) me c.) self d.) my e.) it f.) current g.) here 13. In the space below, write the line of code that would be used to create an instance "myArray" of the object Array where the array was initialized to the four elements 23, 45, 99, and 105. (3 points) var myArray = new Array(23, 45, 99, 105); 14. The index of the first element of an array object is: a.) 0 b.) 1 c.) user defined 15. The number of characters contained in a string can be found using the String property: a.) size b.) sizeOf c.) index d.) chars e.) lastChar f.) length 16. Most objects have a function called ________ which is used to convert the object's value to a string of characters for display. a.) toString() b.) displayString() c.) toChars() d.)asString() e.) toOutput() f.) display() 17. Consider the line of code: retval = isN...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

UNC - ENVR - 116
Midterm Exam - 2002Problem 1 In a study of the efficacy of a anti-allergen medication, humans were exposed to a concentration of 1500 ragweed spores per cubic meter,. The spores have a density of 0.75 g/cm3 and a geometric mean diameter of 20 um. Assumin
Cornell - ECE - 576
Crystalfontz America, Inc. 15611 East Washington Road Valleyford, WA 99036Phone: (509) 291-3514 Fax: (509) 291-3345http:/www.crystalfontz.com email: sales@crystalfontz.comCrystalfontz America, Inc.CUSTOMER MODEL APPROVAL BY: CFAH1602B-TMC-JP DATA:SAL
Santa Monica - CS - 116
Java Software SolutionsLewis and LoftusRecursion-Introduction Recursion is a fundamental programming techn can provide an elegant solution certain kind Chapter 12 focuses on: thinking in a recursive manner programming in a recursive manner the corre
Wisc Stout - MATH - 120
Math 120 Timothy Zick Exam #4B Name: Directions: Follow all directions carefully. Show all work (where applicable). Problems without work may not receive full credit. Do not round any solution unless directed to by the problem. Print your first name and l
ETSU - TSTS - 4717
Points missed: _ Total score: _ /100 pointsStudent's Name: _East Tennessee State University Department of Computer and Information Sciences CSCI 4717 Computer Architecture TEST 3 for Fall Semester, 2006Read this before starting! The total possible scor
ETSU - TSTS - 2150
Points missed: _Student's Name: _Total score: _ /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 3 for Fall Semester, 2003Section 001Read this before starting! T
Virginia Tech - AV - 020
SESSION C1 THE NEXT GENERATION AIR TRANSPORT SYSTEM (NGATS) AND THE JOINT PLANNING AND DEVELOPMENT OFFICE MODERATOR RICHARD MARCHI Senior Advisor, Policy and Regulatory Affairs Airports Council International/North America SPEAKERS STEVE FISHER Executive D
Dickinson State - PLSC - 411
P R I M E RProtein microarrays: Meeting analytical challenges for clinical applicationsLance A. Liotta,1 Virginia Espina,1 Arpita I. Mehta,1,4 Valerie Calvert,2 Kevin Rosenblatt,1 David Geho,1 Peter J. Munson,3 Lynn Young,3 Julia Wulfkuhle,2 and Emanuel
ETSU - WEEK - 4717
Storage MediaHARD DRIVE CHARACTERISTICS REFRESHER Write The read/write head of a hard drive only detects current changes in the magnetic polarity of the material Write passing beneath it, not the direction of the headpolarity. Writes are performed by se
ETSU - WEEK - 4717
CSCI 4717/5717 Computer ArchitectureTopic: Buses Reading: Stallings, Sections 3.4, 3.5, and 7.7Buses Common Characteristics Multiple devices communicating over a single set of wires Only one device can talk at a time or the message is garbled Each line
ETSU - TSTS - 1710
Points missed: _Student's Name: _Total score: _ /100 pointsEast Tennessee State University Department of Computer and Information Sciences CSCI 1710/Section 001 Web Design I TEST 1 for Fall Semester, 2002 Instructor: David TarnoffRead this before star
ETSU - TSTS - 2150
Points missed: _Student's Name: _Total score: _ /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 1 for Spring Semester, 2009Read this before starting!The total p
ETSU - TSTS - 2150
Points missed: _Student's Name: _Total score: _ /100 points East Tennessee State University Department of Computer and Information Sciences CSCI 2150 (Tarnoff) Computer Organization TEST 1 for Spring Semester, 2009Read this before starting!The total p
Cleveland State - IST - 305
IT for Competitive AdvantageInstructor: Sanchita Mal-Sarkar Course: IST 305What is an Information System?An information system contains information about an organization and its surrounding environment CustomersEnvironmentSuppliersOrganization Infor
Millersville - CS - 362
AVL TreesGoal - invariant of AVL treeMaintain height balance. That is, the height of every node's left and right subtrees differ by no more than 1.When Do Rotations Happen?start with an AVL tree that is balanced insert into appropriate child recalcula
Washington University in St. Louis - CSE - 332
CS 342: Intro to C+ Tools and TechniquesLifecycle of a CS 342 C+ Programemacseditor Makefile (ASCII text) 1 source file = 1 compilation unitC+ source files (ASCII text) .cc Programmer (you) C+ header files (ASCII text) .hAlso: .C .cxx .cpp Also: .H .
Charleston Law - CS - 102
3.5 Drug DosageSingle-Dose Model Modeling concentration of drug in system for a single dose is straightforward, using standard differential equation:dQ = kQ dtwhere Q is concentration of drug and k is rate of elimination from compartment (intestines,
Charleston Law - CS - 102
Chapter 8: Data-Driven Models8.2 Function TutorialBackground: Data-Driven Models So far we've been given a model (dP/dt = kP) and used it to generate data. Research often requires us to build a model based on (limited) data. To do this, it helps to be
Nevada - CSE - 241
COMPUTER SCIENCE &amp; ENGINEERING DEPARTMENT CS 241 - INTRODUCTION TO COMPUTER METHODS FOR ENGINEERS Spring 2009 Catalog: Introduction to algorithm development and software for analysis of engineering problems and design. Computer skills development, file an
Nevada - CSE - 481
Department of Computer Science and Engineering CPE 481/681 - EMBEDDED GAMES DEVELOPMENT Fall 2008 Catalog Data: Computer game development with emphasis on embedded systems and game consoles with fixed resources. Evolution of video display, computer sound,
Nevada - CSE - 301
Department of Computer Science and Engineering CPE 301: Microprocessor System DesignLaboratorySpring 2009 Instructors: Offices: E-mail: Dwight Egbert and Durgesh Rani Kumari Dr. Egbert - SEM 322 (10AM-Noon W) Ms. Kumari - SEM 323A (12:15-1:15PM - TT) eg
Iowa State - MA - 378
Appendix C Combinatorial Graphsc 2001 by Dan AshlockC.1Terminology and ExamplesIn this appendix, we will go over the terminology and some elementary theory of combinatorial graphs. An excellent and complete introduction to the topics appears in [37].
Iowa State - MA - 378
Chapter 10 Tartarus: Discrete Roboticsc 2001 by Dan Ashlock In this chapter, we will deal with an environment called Tartarus in which a virtual robot (thought of as a bulldozer) shoves boxes around trying to get them up against the walls. The Tartarus e
Iowa State - MA - 378
Appendix A Probability Theoryc 1999 by Dan Ashlock This appendix reviews some terms and mathematical notions from probability theory used in this book that may not have appeared in your program of study or which you may have forgotten. Ubiquitous in the
Iowa State - MA - 378
Chapter 9 Fitting to Datac 2001 by Dan Ashlock In this chapter, we will look at techniques for fitting curves and models to data. We will look at three techniques, classical least squares of the sort that appears in Appendix B, least squares with an evol
Iowa State - MA - 378
Chapter 8 Plus One Recall Storec 2001 by Dan Ashlock In this chapter, we will do our rst computer experiments with genetic programming. The rst section is intended as a general introduction to genetic programming and is less narrowly focused than the res
Charleston Law - CS - 102
3.3 Constrained GrowthCarrying Capacity Exponential birth rate eventually meets environmental constraints (competitors, predators, starvation, etc.) Maximum population size that a given environment can support indefinitely is called the environment's ca
Charleston Law - CS - 102
2.3 Rate of Change (Calc I Review)Average VelocitySuppose s(t) is the position of an object at time t, where a t b. The average velocity, or average rate of change of s with respect to t, of the object from time a to time b isaverage velocity = change
CSU Northridge - COMP - 598
Embedded ApplicationsCOMP595EA Lecture03 Hardware ArchitectureMicrocontroller vs MicroprocessorMicroprocessor is a term used to describe all programmed computational devices. Microcontroller is a term often used to describe the subset of microprocessor
CSU Northridge - COMP - 598
EmbeddedApplicationsCOMP595EA EmbeddedApplications DevelopmentEmbeddedDevelopmentThereexistsatensioninherenttoembedded development:Embeddedhardwareandsensorsrequiretestingon targetplatform limitedresourcesandhumaninterfacesprevent programminganddevelo
CSU Northridge - LECTURE - 424
COMP424Lecture13 NetworksNetworksNetworks:Composedofmultiple,possiblyremote,entities thatcommunicateovertransmissionmedia Providesecure,reliabledatatransmission betweencomponententitiestopromotesharing andcommunication resourcesharing,increasedreliabi
CSU Northridge - LECTURE - 424
COMP424Lecture10 GeneralObjectprotectionItsmorethanMemorynow.Sincecomputershaveevolvedtoprovide sophisticatedmultiusermultiprocess capabilitiesthenumberandtypesofthings thataresharedhasincreased Memory Files Executingcode Hardwaredevices Authenticati
CSU Northridge - LECTURE - 424
COMP424ComputerSecurityLectureweek8TruthsandMisconceptionsof VirusesTruths: Virusescanmodifyhiddenorreadonlyfiles Virusescannotremaininmemoryaftera completepoweroff/poweronrebootHmmm.TheworldischangingPDAsforinstance arenothingbutmemory. Virusesca
CSU Northridge - LECTURE - 424
Computer SecurityCOMP 424 Lecture week 6 Program SecurityProgram Security How do we keep programs free from flaws How do we protect resources against such flaws? Deals with the security aspects involved when writing programs. Chapter 5 will deal with
CSU Northridge - LECTURE - 424
COMP 424Computer Security Lecture 09 &amp; 10ProtocolAn orderly sequence of steps agreed upon by two or more parties in order to accomplish a task Characteristics of a good protocol Established in advance All parties agree on it Easy to understand Comple
CSU Northridge - COMP - 424
COMP424 Computer SecurityProf. Wiegley jew@csun.edu Rivest, Shamir &amp; Adelman (RSA) Implementation1Relatively prime Prime: n, is prime if its only two factors are 1 and n. (and n = 1). Relatively prime: Two numbers x and y are relatively prime if x and
CSU Northridge - LECTURE - 424
COMP424Lecture02SecurityGoals(Requirements)Whatmakesasecuresystem? FinancialSecurityrequirements Homesecurity Homelandsecurity Physicalsecurity ComputersecurityAlltheseconceptsofsecurityhavedifferent requirements.Weare,ofcourse,interested mostlyonco
CSU Northridge - COMP - 421
COMP421 Unix Environment for ProgrammersLecture 15: ThreadsJeff Wiegley, Ph.D. Computer Science jeffw@csun.edu 10/17/2005Chains do not hold a marriage together. It is threads, hundreds of tiny threads, which sew people together through the years. Rober
CSU Northridge - COMP - 421
COMP421 Unix Environment for ProgrammersLecture 11: File I/OJeff Wiegley, Ph.D. Computer Science jeffw@csun.edu 09/12/2005We should have some ways of connecting programs by like garden hose-screw in another segment when it becomes when it becomes neces
CSU Northridge - COMP - 421
COMP421 Unix Environment for ProgrammersLecture 09: Perl IntroductionJeff Wiegley, Ph.D. Computer Science jeffw@csun.edu 09/12/2005Any sufficiently advanced technology is indistinguishable from a Perl script. Programming Perl, 2nd edition there is a ne
CSU Northridge - COMP - 421
COMP421 Unix Environment for ProgrammersLecture 01: HistoryJeff Wiegley, Ph.D. Computer Science jeffw@csun.edu 08/29/2005.the number of UNIX installations has grown to 10, with more expected. Dennis Ritchie and Ken Thompson, June 19721The beginning
CSU Northridge - COMP - 421
COMP421 Unix Environment for ProgrammersLecture 03: Installing UnixJeff Wiegley, Ph.D. Computer Science jeffw@csun.edu 09/12/2005Unix gives you just enough rope to hang yourself and then a couple of more feet, just to be sure.Eric Allman1Requirements
CSU Northridge - COMP - 282
AdvancedDataStructuresCOMP282 FunctionalDependenciesDefinitionsSomedefinitions: relation:anytwodimensionaltable attribute:acolumninarelation tuple:asinglerowofarelationFunctionalDependency(FD)Given: r(R):arelation A:asetofattributesinr(R) B:aseto
CSU Northridge - COMP - 282
COMP282 Advanced Data StructuresLecture 09b File Structures and External StorageIntroductionNormally memory is used to hold and organize data Files can also be used to hold and organize data. Data exists beyond execution of the program External stora
CSU Northridge - COMP - 282
COMP282AVLDeletionTreescanonlydecreaselikeso.Deletionmaycauseareductioninheight.10 20 10 20Itemdeletedfrom InnersubtreeItemdeletedfrom OutersubtreeIneithercasetheshortenedsubtreehasequal heightsubtreesitself. Viewthissubtreeasjustasinglesubtree10
CSU Northridge - COMP - 282
Comp 282Lecture 15 2-3 Trees IntroductionProperties They are NOT Binary trees! Nodes have exactly, either Two children, or Three children. (hence not binary) A 2-3 Tree containing n nodes has a maximum height of log(n+1) [regardless of what order ite
CSU Northridge - COMP - 282
COMP282Lecture 16 2-3 Tree DeletionDeletion Deleting a node from a 2-3 tree is only slightly more difficult than insertion. Recall that in a binary search tree the easiest nodes to delete are leaves. If you want to delete a non-leaf node the simplest m
CSU Northridge - COMP - 282
COMP 282Lecture 17 Red-Black TreesRed-Black Trees Motivation: The good: 2-3 and 2-3-4 trees produce balanced trees of height bounded by log(n) The bad: without extreme efforts in OO design 2-3 and 2-3-4 trees typically waste a lot of memory on unused
CSU Northridge - COMP - 282
COMP282Lecture 13 2-3-4 trees Insertion If 2-3 trees rock then what about 2-3-4 trees? 2-3-4-5-6-7-8-9 trees? (silliness actually) 2-3-4 tree though are useful because the steps required to resolve insertion and deletion dilemmas are reduced compared
CSU Northridge - COMP - 282
COMP 282 Advanced Data StructuresLecture 05 Graphs Spanning TreesGraphs vs. Trees The term tree has a slightly different meaning for graphs than what we have covered in previous lectures. A graph is a tree if it contains no cycles and is connected. Suc
SUNY Stony Brook - MATH - 126
MAT 126 Calculus B Spring 2007 Practice Final Exam SolutionsAnswer each question in the space provided and on the reverse side of the sheets. Show your work whenever possible. Unless otherwise indicated, answers without justication will get little or no
SUNY Stony Brook - MATH - 126
MAT 126 Calculus Spring 2007 Practice Final ExamAnswer each question in the space provided and on the reverse side of the sheets. Show your work whenever possible. Unless otherwise indicated, answers without justication will get little or no partial cred
Caltech - ACM - 106
ACM106 HW2 Ke Wang1.Implement discrete wavelet transform with lifting on the following signalsover [-1 1] a) S(t) = cos(pi*t)*H(t), where H(t)=1 for t&lt;0 and -1 for t&gt;=0 b) S(t) = exp(-10*t^2)*(1-abs(t) c) S(t) = 1-abs(t)^0.5 d) S(t) = 1-abs(t)^1.5 e) S
Towson - CHEM - 342
1CHEM 342.001-Debye SPRING 1990 NAME: _FINAL EXAMINATION You may use your personal notes and textbook. Numerical answers are expected when requested. All work must be shown. + PART I - You must answer ALL questions in this part: [1] The collision diamet
Stanford - MATH - 103
Math 103 FinalTuesday March 20th , 2007Time: 3 hours Total: 160 points This is a closed book test. Calculators and other computational aids are strictly forbidden. Lucky charms wont help you, but feel free to use them. Cell phones wont help you either,
Stanford - MATH - 103
2Assignment 3: Assigned Wed 04/18. Due Wed 04/251. Section 2.4: 50, 51, 52 2. (a) Let T : Rm Rn be a linear transformation. If T (x) = T (y) show that x y ker(T ). Conclude that T is injective if and only if ker(T ) = cfw_0. (b) If T : Rm Rn is a linear
NMSU - PHYS - 212
Physics Homework, NMSU, Dr. Hearn, v3Introduction: This semester we will use the Webassign (http:/webassign.net/student.html) homework service provided through North Carolina State University. Note that this is different from WebCT. This service allows u
University of Illinois, Urbana Champaign - NRES - 201
Cooperative Extension Service. College of Agriculture Circular 1220 University of Illinois at Urbana-Champaign TABLE OF CONTENTSIllinois Erosion Control Program. . 1 The Universal Soil Loss Equation (USLE) 1 Rainfall (R) Factor. . 2 Soil Erodibilit
Charleston Law - CS - 102
5.2 Euler's MethodLeonhard Euler (1707-1783)Euler Lagrange Fourier Dirichlet Lipschitz Klein Story Lefschetz Tucker Minsky Winston Waltz Pollack Levy Y'allMotivation Accumulating a value (stock variable) requires us to integrate it Sometimes definite
Charleston Law - CS - 102
High-Performance Computing 12.1: Concurrent ProcessingHigh-Performance ComputingA fancy term for computers significantly faster than your average desktop machine (Dell, Mac) For most computational modelling, High Productivity Computing (C. Moler) is mor
Charleston Law - CS - 102
Computer Science 102Into to Computational Modeling Spring 2009 Special Topics: Programming in MatlabMatlabAn integrated programming and graphical environment Interpreted : interactive; get answer immediately Also supports saving and loading large progr