COSC 4351 Exam 2 Review

Ace your homework & exams now with Quizwiz!

In the paper "How Do You Learn?", former secretary of defense, Donald Rumsfeld said:

"three kinds of knowledge"

You are a Software engineer at NoFunSoft Software Developers. A year ago, your manager announced that your next product would comprise 9 FILES, 45 FLOWS, and 90 PROCESSES S = Files + Flows + Processes C = e X S For FunSoft Software Developers, the constant e has been determined to be $1021. What cost estimate C did the FFP metric predict? Hint: an integer number with a $ sign in front, and no commas

$147024 e x S 1021 x (9+45+90)

What is the value of s.length? var s = "";

0 an empty string has no length

What are the first and last numbers output by the code segment? var c = 100; while(c > 0) { console.log(c); c -= 10; }

100 and 10

You are a Software engineer at NoFunSoft Software Developers. A year ago, your manager announced that your next product would comprise 6 FILES, 49 FLOWS, and 91 PROCESSES Using te FFP metric, determine its size S (S = Files + Flows + Processes)

146

Refer to the associative array below var students = { 123:{name: "Tiara", gpa:3.3}, 444: {name: "Lee", gpa:2.0}, 987: {name: "Bryce", gpa:2.0}}; What number is output to the console? delete students["Braden"]; console.log(Object.keys(students).length);

3 Braden doesn't exist

What numbers are output by the code segment? for(c=5;c<10;c+=2) { console.log(c); }

5, 7, 9

Enter the value assigned to x in each code segment var quote = "I am Spartacus!"; x = quote.indexOf("part");

6 "part" begins at index 6

You are a Software engineer at NoFunSoft Software Developers. A year ago, your manager announced that your next product would comprise 8 FILES, 49 FLOWS, and 100 PROCESSES S = Size = Files + Flows + Processes C = Cost e has been determined to be $1021 The product recently was completed at a cost C of $135,200. What does this tell you about the productivity of your development team? Hint: only one decimal point (round) followed by % (x.y%)

??

A project management estimating technique in which the people who are going to do the work participate in the estimating process is called:

Bottom-up estimating

What is output to the console? var autos = ["Chevrolet", "Dodge", "Ford", "Ram"]; for (i=0;i<2;i++) { console.log(autos[i]); }

Chevrolet, Dodge

A web browser will process the HTML following a script element that uses an external JS file while the browser waits for the web server to return the JS file.

False A web browser will wait for a scipt element's external file to load before continuing to process the HTML. As a result, many web devs place their scripts at the end of the HTML.

The actions a web browser notices are called handlers

False The actions are called events and the code that executes in response to those events are called handlers

jQuery is:

First released in 2006 by John Resig, this is the most widely used Javascript library

Some common Client Side Scripting technologies are:

HTML JavaScript Ajax

Java is using ___ and C# is using ___

JVM CLR Java virtual machine and Common language runtime

In the paper "How Do You Learn?", JVM stands for

Java virtual machine

Zend, RoR, Django are examples of the following design pattern:

MVC Model View Controller Design Pattern

What does MVC stand for

Model View Controller

What does MVC stand for?

Model View Controller

What language is this? class Point{ private $x, $y; function __construct($x, $y){ $this->x = $x; .....} function ..... has an echo function as well

PHP

Some common Server Side Scripting technologies are:

PHP ASP Ruby on Rails

What are common Server Side Scripting technologies?

PHP Ruby on Rails ASP

___ estimating is one of the most accurate techniques for determining overall cost and duration of a project as a whole and for individual tasks with tangible output

Parametric

What language is this? has functions such as: def setPoint def getX(self) def getY(self); with print statements (print(self.__x) and return functions

Python

The $() function is used to select DOM elements using selectors. A selector is a string that is crafted to match specific DOM elements. Once these elements are selected, other jQuery methods can be used to add and remove CSS classes or properties, show or hide elements, etc. The jQuery method .addClass() is used to add a CSS class to selected nodes as illustrated below: <html> <title>j

Red Example 9.2.1

What language is this? def initialize(x,y) @x = x @y = y end repeat def and end are the main points

Ruby

In the paper "How Do You Learn?", Groovy is described as a cross between which two languages?

Ruby and Java

$("p") means:

Selects all <p> elements

$(".important") means:

Selects all elements with class="important"

$("#hello") means:

Selects the element with id="hello"

What is the output to the console? var names[]; names[0] = "Sue"; names[1] = "Bob"; names[2] = "Jeff"; console.log(names[0] + names[1]);

SueBob

Client Side Scripting is the type of code that is executed or interpreted by browsers. Client Side Scripting is generally viewable by any visitor to a site (from the view menu click on "View Source" to view the source code). Are these two sentences true or false?

True

In the paper "How Do You Learn?", TSS stands for:

Two sentence story

What langauge is this? Has components of a UML diagram Rectangles with information in it

UML

Is var $p = $(document.getElementById("hello")); same as var $p = jQuery(document.getElementById("hello"));

Yes

Every project manager does project scheduling. Some do it on:

a yellow note pad use excel use software specifically designed for project management

Use the object below to answer the question: var book = { title: "Hatching Twitter", published: 2013, keywords: {"origins", "betrayal", "social media"}, author: { firstName: "Nick" lastName: "Bilton" } }; Which statements adds a new property called "ibsn" with the value "1591846013"?

book.ibsn = "1591846013"

Project managers use a ___ ___ ___ to demonstrate the value of doing a project. When a new project is initiated, the sponser and project manager must justify the project to obtain organizational approval to spend the money. Many organizations have rules about what cost to benefit relationship the project must produce ot be approved.

cost benefit analysis

server side scripting is the type of code that is executed or interpreted by the web server server side scripting is viewable or accessible by any visitor or general public

false second statement is false

The variable z is assigned 9. var z = x(3); var x = function(y) { return y * y; }

false x is not assinged a function expression until after x is called. Since funtion expressions are not hoisted, the call to x(3) causes an exception.

Web apps are dynamic websites combined with server side programming which provide functionalities such as:

interacting with the users connecting to back-end databases and generating results to browsers

Web Applications are dynamic web sites combined with server side programming which provide functionalities such as:

interacting with users connecting to back-end databases generating results to browsers

client side scripting is the type of code that executed or interpreted by browsers client side scripting is generally viewable by any visitor to a site (from the view menu click on "view source" to view the source code) are these 2 sentences true or false

true

As per "guide to web app dev" paper, the author states that there are two main categories of coding, scripting and programming

true client side and server side

Project estimating techniques are critical survival tools for project managers as they face the task of estimating

when the project will finish how much it will cost


Related study sets

Chapter 7 ISDS 574 K- nearest Neighbors (k-NN)

View Set

Supervisory management Chapter 9 Group Development and Team Building

View Set

Science Lesson 2 - The Periodic Table

View Set

11.23.10 Molecular Genetics I (13 & 14)

View Set

NCM 109 (MATERNAL & CHILD) MIDTERMS

View Set

Managerial Acct- pre chapter 11: Differential Analysis: The Key to Decision Making

View Set

Biochemistry 2, Various, Sociology 2, Psychology 3, Psychology 2, Biology 3, Sociology 1, Biochemistry 1, Biology 1, Biology (Pictures), Biology 2

View Set