#getvolume
Explore tagged Tumblr posts
Text
A Better Way to Get Data
0: Been a Minute
I came out the gate real strong on these dev blogs then completely dropped off. Oops.
In my defense, I got an actual salaried job, and it has been pretty hectic. Like, miss-application-deadlines-for-PhD-programs hectic. It's not all bad though! For starters, I honestly need the break from being a student. Also, it's a ~tech job~ and I'm taking the opportunity to learn more about programming, tool development, and project management.
"Why does any of this matter?"
Because a current work project clued me into a better way to collect inscriptional data!
1: A Better Way
In previous posts, I explained how to scrape Greek inscriptions from the Packard Humanities Institute website. Here's that post (link), if you want some context.
This is the method I used for my thesis, but it has some problems. It's pretty slow (I had to leave the full scraper + cleaner to run overnight), and it wasn't the most accurate. Since the data was just sitting untagged in pretty minimal HTML format, nothing was really tagged. I worked around this by giving the scraper search parameters with some... functional Regular Expression (I'll cover that in head crushing detail later). Unfortunately, Regular Expression is an avatar of the devil and my sloppy search parameters introduced numerous errors, especially when it came to inscription dates.
However, we can do away with scraping entirely and retrieve the data in XML format, along with more details about the book and chapter of the Inscriptiones Graecae they're found in, using API calls!
2: What's an API?
idk. someone elses code for you to vandalize.
ok, API stands for application programming interface. An application is just a piece of software that fulfills a function, and an API communicates between applications.
So say you have a website that shows you some data. In this example by John Watson Rooney, it's listings of sunglasses from the Sunglass Hut website. Rather than hard-code a page with every pair of sunglesses and the corresponding prices, the website has a field for the different offerings that's filled in by an API. When you open a list of sunglasses, an API grabs the relevant data and presents it to the website for formatting. In this example, the website is one application, the data server (or partition, etc.) is another application, and the API is responsible for carrying information about sunglasses in between the two.
That means the data is actually stored separately from the website. If you wanted to, you could just call that API yourself and retrieve the raw data!
3: Applying This
Now here's where we can start to apply things. Multiple volumes of the Inscriptiones Graecae are available online, free of charge, through the Berlin-Brandenburgische Akademie der Wissenschaften (the current publishers). Here's a link, but note that it's not a secure page.
I originally bounced off this site and landed on the Packard Humanities institute because I only knew how to scrape, and the Akademie's APIs had me totally confounded. But I've leveled up, and I think it's time to use the resource to its fullest.
There are a few APIs at work here. One just gets a list of all the inscriptions, organized by book, in JSON format (don't...worry abt it just yet). Just slap this into your browser and take a look:
http://telota.bbaw.de/ig/api/inscriptions
Another
Another gets information about each volume, including the subject region, volume name, and (very crucially!) the volume identifier used by the APIs to select a specific book. Check this one out too:
http://telota.bbaw.de/ig/api/getVolumes
The site has plenty more: some for grabbing chapters, some for sections organized by chapter, some for an ordered list of sections without chapters, etc. Every which way you could want to get information about a book, you have it.
Then, at the very end of it all, you can grab an actual inscription, this time in XML format. Give this last one a try:
http://telota.bbaw.de/ig/api/xml/IG%20I%C2%B3%201
Let's take a second to parse that. It starts with "telota.bbaw.de": TELOTA stands for The Electronic Life Of The Academy, and BBAW stands for Berlin-Brandenburgische Akademie der Wissenschaften (Berlin-Brandenburg Academy of Sciences). TELOTA is the digital humanities wing of the BBAW!
Moving on, "ig" stands for Inscriptiones Graecae, and "api" denotes that we're making an API call, rather than viewing the site normally. Then, "xml" indicates the viewing format.
Now the good part! We have this arcane looking string "IG%20I%C2%B3%201". It's not actually all that bad — those %20s are just escape codes (remember we dealt with those before!) indicating spaces. Unescape them out and we get this
http://telota.bbaw.de/ig/api/xml/IG I%C2%B3 1
Well, doesn't that "IG I" look familiar!
That "%C2%B3" looks a little more complicated, but if we check this list of escape codes, we find that it's equivalent to ³ (superscript 3). Knowing that, we can unravel the rest of the link:
http://telota.bbaw.de/ig/api/xml/IG I³ 1
And there it is! The last portion is just the book series (IG), the volume (I³), and the inscription!
4: Putting It Together
So here's the plan. I need to write a script that uses the known APIs to call a list of each volume, its chapters, sections, etc. Using the data from the responses, it will gather a list of inscriptions by section into a table, where each row has the volume, chapter, section (etc), and inscription number. This will involve converting JSON to R tibbles, but I've experimented with the Jsonlite package which does just that. It's nothing too complicated!
Next, I need a script that will build API calls out of these inscription numbers, then use the responses to fill more data into the table. This will involve converting XML to R tibbles, which I don't have any experience with, but the data format is widely used so I expect tools have been developed.
Once that is done, I should have a table of inscriptions in (hopefully) much less time and with minimal errors in time or location data!
#quantitative linguistics#ancient greek#classics#classical greek#programming#API#historical linguistics#R#dialectology
0 notes
Text
Problem Encountered
JavaScript is a programming language that is designed to enhance and expand web development. In most cases, JavaScript is used to create responsive, interactive elements for web pages that enhance user experience. Using JavaScript, you can easily and quickly create content like menus, animation, video players, interactive charts and even basic in-browser games.
I tried making a music player using javascript. However, with no knowledge of Javascript, I was unable to make the music player.
I found a jquery code on w3school and was able to play and stop button.
Jquery is a lightweight, JavaScript library, ' write less, do more. ' JQuery aims to make JavaScript on your website much easier to use which takes a number of common tasks that need to perform several lines of JavaScript code, and bundles it in ways that a single line of code will call you.
The jQuery library contains the following features:
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
AJAX
Utilities
Because it didn't have any template of the CSS attempts were made to adjust but proved futile.
Template of the code
<!DOCTYPE html> <html> <body>
<button onclick="getVolume()" type="button">What is the volume?</button> <button onclick="setHalfVolume()" type="button">Set volume to 0.2</button> <button onclick="setFullVolume()" type="button">Set volume to 1.0</button><br>
<video id="myVideo" width="320" height="176" controls> <source src="mov_bbb.mp4" type="video/mp4"> <source src="mov_bbb.ogg" type="video/ogg"> Your browser does not support HTML5 video. </video>
<script> var vid = document.getElementById("myVideo");
function getVolume() { alert(vid.volume); }
function setHalfVolume() { vid.volume = 0.2; }
function setFullVolume() { vid.volume = 1.0; } </script>
<p>Video courtesy of <a href="https://www.bigbuckbunny.org/" target="_blank">Big Buck Bunny</a>.</p>
</body> </html>
Great News,
i was advised by my tutor on 18th December and i was told to consider placing both buttons in a div, then position that div it. So i got it removed from the side and it is now above the image.
0 notes
Text
Code I Ran Today: 08/08/2017
Language: JavaScript
See it Live & run it yourself: Code I Ran Today: 08/08/2017
Background: I was given about an hour and a half to do this problem. I couldn’t get it in that time, but I would NOT let myself go to sleep without finishing it. I pushed myself and was finished and in bed before midnight! #nevergiveup
Code:
var forBox = function randomInt(number){ return Math.random() * (number - 1) + 1;}function BoxMaker(){ var box = { length: forBox(5), width: forBox(10), height: forBox(10), contents: ["shoes", "hats", "smiles"] }; return box; }var warehouse = []; var box1 = BoxMaker(); var box2 = BoxMaker(); var box3 = BoxMaker();typeof box1; //object// warehouse.push(box1); // warehouse.push(box2); // warehouse.push(box3);// warehouse;function orderBoxes(number) { var container =""; for (var j = 0; j < number; j++){ container = BoxMaker(); warehouse.push(container); } // console.log(warehouse); }orderBoxes(10);function getVolume(box){ var volume = box["length"] * box["width"] * box["height"]; return volume; }getVolume(warehouse[0]);var index = warehouse.lengthfor (var i = 0; i < index; i++){ var newNew = warehouse[i].contents; newNew.push("saftey manual"); newNew.push("mothballs"); }warehouse;
1 note
·
View note
Text
CCC Shape Solved
Implement a Shape hierarchy as shown in the figure above. Each TwoDimensionalShape should contain method getArea to calculate the area of the two-dimensional shape. Each ThreeDimensionalShape should have methods getArea and getVolume to calculate the surface area and volume, respectively, of the three-dimensional shape. Create a program that uses an array of Shape references to objects of each…
View On WordPress
0 notes
Text
evry BIS 311 Final Examination Answers
Follow Below Link to Download Tutorial
https://homeworklance.com/downloads/devry-bis-311-final-examination-answers/
For More Information Visit Our Website ( https://homeworklance.com/ )
Email us At: [email protected] or [email protected]
Question 1.1. (TCO 1) In the systems development life cycle, the goal of the design activity is to _____. (Points : 5)
determine exactly what a new or modified information system should do
create a set of detailed plans or blueprints for the system
build the application
ensure that the application works as desired
Question 2.2. (TCO 2) To plan the code for a procedure, _____ uses standardized symbols to show the steps the procedure must follow to reach its goal. (Points : 5)
pseudocode
a TOE chart
a class diagram
a flowchart
Question 3.3. (TCO 3) Computer memory locations where programmers can temporarily store and change data while an application is running are _____. (Points : 5)
classes
literals
constants
variables
Question 4.4. (TCO 3) In Visual Basic, which of the following correctly declares a named constant with the name strCOURSE that contains the string value “BIS311”? (Points : 5)
Const strCOURSE As String = “BIS311”
String Constant strCOURSE = “BIS311”
Dim strCOURSE As “BIS311”
Const String “BIS311” As strCOURSE
Question 5.5. (TCO 5) A _____ structure is used in an application when a decision needs to be made, followed by an action derived from that decision. (Points : 5)
selection
sequence
repetition
interrogative
Question 6.6. (TCO 5) If intQty contains 60, what will be the value of intPrice after executing the following code?
Select Case intQty
Case 1 To 50
intPrice = 10
Case 51 To 100
intPrice = 8
Case > 100
�� intPrice = 6
Case Else
intPrice = 0
End Select (Points : 5)
10
8
6
0
Question 7.7. (TCO 6) The loop below is classified as a(n) _____ loop.
Dim intNum As Integer = 2
Do
MsgBox( intNum.ToString() )
intNum *= intNum
Loop While intNum < 1000 (Points : 5)
infinite
pretest
posttest
counter-controlled
Question 8.8. (TCO 6) Which element of the following array contains the value “Red”?
Dim strColors() As String = {“Red”, “Green”, “Blue”, “Yellow”} (Points : 5)
strColors(4)
strColors(3)
strColors(1)
strColors(0)
Question 9.9. (TCO 7) The _____ of an independent Sub procedure usually begins with the Private keyword. (Points : 5)
Call statement
argument list
procedure footer
procedure header
Question 10.10. (TCO 7) In the following function, what should go in the blank in the function header?
Private Function GetRatio(dblNumerator As Double, dblDenominator As Double) _____
Dim dblRatio As Double
dblRatio = dblNumerator/dblDenominator
Return dblRatio
End Function (Points : 5)
ByVal
ByRef
As Integer
As Double
Question 11.11. (TCO 2) An application for a shipping company needs to keep track of the length, width, height, and weight of packages. Using object-oriented programming methods, in this application, the weight of a package would be represented by a(n) _____. (Points : 5)
object
attribute
method
class
Question 12.12. (TCO 4) (TCO 4) Consider the following class definition:
Public Class Box
Public Length As Double
Public Width As Double
Public Height As Double
Public Function GetVolume() As Double
Return Length * Width * Height
End Function
End Class
If crate is an instance of Box, which of the following statements assigns a value to a property? (Points : 5)
crate.Length = 42
dblVolume = crate.GetVolume()
crate.GetVolume(42)
Call crate.Length(42)
Question 13.13. (TCO 8) A programmer makes a connection between a Visual Basic application and a database using the _____. (Points : 5)
Database Integration tool
data box control
Data Source Configuration Wizard
Dataset Designer
Question 14.14. (TCO 9) The components of a two-tier architecture are _____. (Points : 5)
the primary and the secondary
the client and the server
the master and the subordinate
the alpha and the beta
Page 2
Question 1. 1. (TCOs 1, 2, and 3) You have been asked to develop an application with the following business requirements: The user will enter an original price. When the user clicks a Calculate Sale Price button, the application will calculate a sale price by multiplying the original price by 80%. The application will display the sale price to the user.
(a) Develop a TOE chart for this application. You do not need to put it in table form, but list what would go in the Task column, what would go in the Object column, and what would go in the Event column for each row of the chart. Your chart should have at least three rows: one for input, one for processing, and one for output.
(b) Write pseudocode for the button-click event procedure in this application.
(c) Identify two variables and one constant that you would declare for this application. For each, provide a variable or constant name that follows the syntax rules of Visual Basic and the Hungarian naming convention, and an appropriate Visual Basic data type. (Points : 30)
Spellchecker
Question 2. 2. (TCO 5) Consider the following Visual Basic code snippet:
If intScore >= 100 Then
lblMessage.Text = “Great job!”
Else
lblMessage.Text = “Better luck next time”
End If
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
The control structure is an if statement that returns a message based on the value of the variable intScore.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
For 99, the message displayed on the screen will be “Better luck next time” because 99 is less than 100.
For 100, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e. 100 =100 evaluates to true.
For 101, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e 101 >100 evaluates to true.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Question 3. 3. (TCO 6) Consider the following code snippet:
Dim intTotal As Integer = 0
For intNum As Integer = 1 To 5
intTotal += intNum
Next intNum
MessageBox.Show( intTotal.ToString() )
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
The control structure is a “for” loop that controls the execution of the condition and incrementing the intNum variable by 1, until the value 5 is reached.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
The counter variable is intNum as it is increased by one within the loop and used to control the loop while the accumulator variable is intTotal because it stores the incremented value.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points: 30)
The variable intTotal is initialised to 0, then the counter variable (intNum) is increased by one at each step until it obtains a value 5, then the loop stops. The message displayed on the screen will be: 0 1 2 3 4 5.
Question 1. 1. (TCO 7) (a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Spellchecker
(a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
Passing by value refers to a method of referencing variables by initialising them to real values while passing by reference is a reference method that involves assigning values to functions through other variables.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
Function sum {
Result=12 ;}
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Function sum {
a=10, b=12;
Sum=a+b ;}
Question 2. 2. (TCOs 2 and 4) You have been asked to develop an application to keep track of employees’ scheduled vacations and ensure that all vacations are approved by the manager and that each employee does not exceed his or her maximum annual vacation time. Maximum annual vacation time is determined by the number of years the employee has worked for the firm. You are using object-oriented programming (OOP) to develop this application.
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Spellchecker
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Question 3. 3. (TCOs 8, 9, and 10) (a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
Spellchecker
(a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
0 notes
Text
BIS 311 Final Examination Answers
Copy and Pate below link into your Browser to buy tutorial
http://hwpool.com/product/bis-311-final-examination-answers/
BIS 311 Final Examination Answers
Question 1.1. (TCO 1) In the systems development life cycle, the goal of the design activity is to _____. (Points : 5)
determine exactly what a new or modified information system should do
create a set of detailed plans or blueprints for the system
build the application
ensure that the application works as desired
Question 2.2. (TCO 2) To plan the code for a procedure, _____ uses standardized symbols to show the steps the procedure must follow to reach its goal. (Points : 5)
pseudocode
a TOE chart
a class diagram
a flowchart
Question 3.3. (TCO 3) Computer memory locations where programmers can temporarily store and change data while an application is running are _____. (Points : 5)
classes
literals
constants
variables
Question 4.4. (TCO 3) In Visual Basic, which of the following correctly declares a named constant with the name strCOURSE that contains the string value “BIS311”? (Points : 5)
Const strCOURSE As String = “BIS311”
String Constant strCOURSE = “BIS311”
Dim strCOURSE As “BIS311”
Const String “BIS311” As strCOURSE
Question 5.5. (TCO 5) A _____ structure is used in an application when a decision needs to be made, followed by an action derived from that decision. (Points : 5)
selection
sequence
repetition
interrogative
Question 6.6. (TCO 5) If intQty contains 60, what will be the value of intPrice after executing the following code?
Select Case intQty
Case 1 To 50
intPrice = 10
Case 51 To 100
intPrice = 8
Case > 100
intPrice = 6
Case Else
intPrice = 0
End Select (Points : 5)
10
8
6
0
Question 7.7. (TCO 6) The loop below is classified as a(n) _____ loop.
Dim intNum As Integer = 2
Do
MsgBox( intNum.ToString() )
intNum *= intNum
Loop While intNum < 1000 (Points : 5)
infinite
pretest
posttest
counter-controlled
Question 8.8. (TCO 6) Which element of the following array contains the value “Red”?
Dim strColors() As String = {“Red”, “Green”, “Blue”, “Yellow”} (Points : 5)
strColors(4)
strColors(3)
strColors(1)
strColors(0)
Question 9.9. (TCO 7) The _____ of an independent Sub procedure usually begins with the Private keyword. (Points : 5)
Call statement
argument list
procedure footer
procedure header
Question 10.10. (TCO 7) In the following function, what should go in the blank in the function header?
Private Function GetRatio(dblNumerator As Double, dblDenominator As Double) _____
Dim dblRatio As Double
dblRatio = dblNumerator/dblDenominator
Return dblRatio
End Function (Points : 5)
ByVal
ByRef
As Integer
As Double
Question 11.11. (TCO 2) An application for a shipping company needs to keep track of the length, width, height, and weight of packages. Using object-oriented programming methods, in this application, the weight of a package would be represented by a(n) _____. (Points : 5)
object
attribute
method
class
Question 12.12. (TCO 4) (TCO 4) Consider the following class definition:
Public Class Box
Public Length As Double
Public Width As Double
Public Height As Double
Public Function GetVolume() As Double
Return Length * Width * Height
End Function
End Class
If crate is an instance of Box, which of the following statements assigns a value to a property? (Points : 5)
crate.Length = 42
dblVolume = crate.GetVolume()
crate.GetVolume(42)
Call crate.Length(42)
Question 13.13. (TCO 8) A programmer makes a connection between a Visual Basic application and a database using the _____. (Points : 5)
Database Integration tool
data box control
Data Source Configuration Wizard
Dataset Designer
Question 14.14. (TCO 9) The components of a two-tier architecture are _____. (Points : 5)
the primary and the secondary
the client and the server
the master and the subordinate
the alpha and the beta
Page 2
Question 1. 1. (TCOs 1, 2, and 3) You have been asked to develop an application with the following business requirements: The user will enter an original price. When the user clicks a Calculate Sale Price button, the application will calculate a sale price by multiplying the original price by 80%. The application will display the sale price to the user.
(a) Develop a TOE chart for this application. You do not need to put it in table form, but list what would go in the Task column, what would go in the Object column, and what would go in the Event column for each row of the chart. Your chart should have at least three rows: one for input, one for processing, and one for output.
(b) Write pseudocode for the button-click event procedure in this application.
(c) Identify two variables and one constant that you would declare for this application. For each, provide a variable or constant name that follows the syntax rules of Visual Basic and the Hungarian naming convention, and an appropriate Visual Basic data type. (Points : 30)
Spellchecker
Question 2. 2. (TCO 5) Consider the following Visual Basic code snippet:
If intScore >= 100 Then
lblMessage.Text = “Great job!”
Else
lblMessage.Text = “Better luck next time”
End If
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
The control structure is an if statement that returns a message based on the value of the variable intScore.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
For 99, the message displayed on the screen will be “Better luck next time” because 99 is less than 100.
For 100, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e. 100 =100 evaluates to true.
For 101, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e 101 >100 evaluates to true.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Question 3. 3. (TCO 6) Consider the following code snippet:
Dim intTotal As Integer = 0
For intNum As Integer = 1 To 5
intTotal += intNum
Next intNum
MessageBox.Show( intTotal.ToString() )
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
The control structure is a “for” loop that controls the execution of the condition and incrementing the intNum variable by 1, until the value 5 is reached.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
The counter variable is intNum as it is increased by one within the loop and used to control the loop while the accumulator variable is intTotal because it stores the incremented value.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points: 30)
The variable intTotal is initialised to 0, then the counter variable (intNum) is increased by one at each step until it obtains a value 5, then the loop stops. The message displayed on the screen will be: 0 1 2 3 4 5.
Question 1. 1. (TCO 7) (a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Spellchecker
(a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
Passing by value refers to a method of referencing variables by initialising them to real values while passing by reference is a reference method that involves assigning values to functions through other variables.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
Function sum {
Result=12 ;}
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Function sum {
a=10, b=12;
Sum=a+b ;}
Question 2. 2. (TCOs 2 and 4) You have been asked to develop an application to keep track of employees’ scheduled vacations and ensure that all vacations are approved by the manager and that each employee does not exceed his or her maximum annual vacation time. Maximum annual vacation time is determined by the number of years the employee has worked for the firm. You are using object-oriented programming (OOP) to develop this application.
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Spellchecker
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Question 3. 3. (TCOs 8, 9, and 10) (a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
Spellchecker
(a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
0 notes
Text
BIS 311 FINAL EXAMINATION ANSWERS
To Download tutorial Copy and Paste below Link into your Browser
https://www.essayblue.com/downloads/bis-311-final-examination-answers/
for any inquiry email us at ( [email protected] )
BIS 311 Final Examination Answers
Question 1.1. (TCO 1) In the systems development life cycle, the goal of the design activity is to _____. (Points : 5)
determine exactly what a new or modified information system should do
create a set of detailed plans or blueprints for the system
build the application
ensure that the application works as desired
Question 2.2. (TCO 2) To plan the code for a procedure, _____ uses standardized symbols to show the steps the procedure must follow to reach its goal. (Points : 5)
pseudocode
a TOE chart
a class diagram
a flowchart
Question 3.3. (TCO 3) Computer memory locations where programmers can temporarily store and change data while an application is running are _____. (Points : 5)
classes
literals
constants
variables
Question 4.4. (TCO 3) In Visual Basic, which of the following correctly declares a named constant with the name strCOURSE that contains the string value “BIS311”? (Points : 5)
Const strCOURSE As String = “BIS311”
String Constant strCOURSE = “BIS311”
Dim strCOURSE As “BIS311”
Const String “BIS311” As strCOURSE
Question 5.5. (TCO 5) A _____ structure is used in an application when a decision needs to be made, followed by an action derived from that decision. (Points : 5)
selection
sequence
repetition
interrogative
Question 6.6. (TCO 5) If intQty contains 60, what will be the value of intPrice after executing the following code?
Select Case intQty
Case 1 To 50
intPrice = 10
Case 51 To 100
intPrice = 8
Case > 100
intPrice = 6
Case Else
intPrice = 0
End Select (Points : 5)
10
8
6
0
Question 7.7. (TCO 6) The loop below is classified as a(n) _____ loop.
Dim intNum As Integer = 2
Do
MsgBox( intNum.ToString() )
intNum *= intNum
Loop While intNum < 1000 (Points : 5)
infinite
pretest
posttest
counter-controlled
Question 8.8. (TCO 6) Which element of the following array contains the value “Red”?
Dim strColors() As String = {“Red”, “Green”, “Blue”, “Yellow”} (Points : 5)
strColors(4)
strColors(3)
strColors(1)
strColors(0)
Question 9.9. (TCO 7) The _____ of an independent Sub procedure usually begins with the Private keyword. (Points : 5)
Call statement
argument list
procedure footer
procedure header
Question 10.10. (TCO 7) In the following function, what should go in the blank in the function header?
Private Function GetRatio(dblNumerator As Double, dblDenominator As Double) _____
Dim dblRatio As Double
dblRatio = dblNumerator/dblDenominator
Return dblRatio
End Function (Points : 5)
ByVal
ByRef
As Integer
As Double
Question 11.11. (TCO 2) An application for a shipping company needs to keep track of the length, width, height, and weight of packages. Using object-oriented programming methods, in this application, the weight of a package would be represented by a(n) _____. (Points : 5)
object
attribute
method
class
Question 12.12. (TCO 4) (TCO 4) Consider the following class definition:
Public Class Box
Public Length As Double
Public Width As Double
Public Height As Double
Public Function GetVolume() As Double
Return Length * Width * Height
End Function
End Class
If crate is an instance of Box, which of the following statements assigns a value to a property? (Points : 5)
crate.Length = 42
dblVolume = crate.GetVolume()
crate.GetVolume(42)
Call crate.Length(42)
Question 13.13. (TCO 8) A programmer makes a connection between a Visual Basic application and a database using the _____. (Points : 5)
Database Integration tool
data box control
Data Source Configuration Wizard
Dataset Designer
Question 14.14. (TCO 9) The components of a two-tier architecture are _____. (Points : 5)
the primary and the secondary
the client and the server
the master and the subordinate
the alpha and the beta
Page 2
Question 1. 1. (TCOs 1, 2, and 3) You have been asked to develop an application with the following business requirements: The user will enter an original price. When the user clicks a Calculate Sale Price button, the application will calculate a sale price by multiplying the original price by 80%. The application will display the sale price to the user.
(a) Develop a TOE chart for this application. You do not need to put it in table form, but list what would go in the Task column, what would go in the Object column, and what would go in the Event column for each row of the chart. Your chart should have at least three rows: one for input, one for processing, and one for output.
(b) Write pseudocode for the button-click event procedure in this application.
(c) Identify two variables and one constant that you would declare for this application. For each, provide a variable or constant name that follows the syntax rules of Visual Basic and the Hungarian naming convention, and an appropriate Visual Basic data type. (Points : 30)
Spellchecker
Question 2. 2. (TCO 5) Consider the following Visual Basic code snippet:
If intScore >= 100 Then
lblMessage.Text = “Great job!”
Else
lblMessage.Text = “Better luck next time”
End If
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
The control structure is an if statement that returns a message based on the value of the variable intScore.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
For 99, the message displayed on the screen will be “Better luck next time” because 99 is less than 100.
For 100, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e. 100 =100 evaluates to true.
For 101, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e 101 >100 evaluates to true.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Question 3. 3. (TCO 6) Consider the following code snippet:
Dim intTotal As Integer = 0
For intNum As Integer = 1 To 5
intTotal += intNum
Next intNum
MessageBox.Show( intTotal.ToString() )
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
The control structure is a “for” loop that controls the execution of the condition and incrementing the intNum variable by 1, until the value 5 is reached.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
The counter variable is intNum as it is increased by one within the loop and used to control the loop while the accumulator variable is intTotal because it stores the incremented value.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points: 30)
The variable intTotal is initialised to 0, then the counter variable (intNum) is increased by one at each step until it obtains a value 5, then the loop stops. The message displayed on the screen will be: 0 1 2 3 4 5.
Question 1. 1. (TCO 7) (a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Spellchecker
(a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
Passing by value refers to a method of referencing variables by initialising them to real values while passing by reference is a reference method that involves assigning values to functions through other variables.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
Function sum {
Result=12 ;}
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Function sum {
a=10, b=12;
Sum=a+b ;}
Question 2. 2. (TCOs 2 and 4) You have been asked to develop an application to keep track of employees’ scheduled vacations and ensure that all vacations are approved by the manager and that each employee does not exceed his or her maximum annual vacation time. Maximum annual vacation time is determined by the number of years the employee has worked for the firm. You are using object-oriented programming (OOP) to develop this application.
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Spellchecker
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Question 3. 3. (TCOs 8, 9, and 10) (a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
Spellchecker
(a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
0 notes
Text
BIS 311 FINAL EXAMINATION ANSWERS
To Download tutorial Copy and Paste below Link into your Browser
https://www.essayblue.com/downloads/bis-311-final-examination-answers/
for any inquiry email us at ( [email protected] )
BIS 311 Final Examination Answers
Question 1.1. (TCO 1) In the systems development life cycle, the goal of the design activity is to _____. (Points : 5)
determine exactly what a new or modified information system should do
create a set of detailed plans or blueprints for the system
build the application
ensure that the application works as desired
Question 2.2. (TCO 2) To plan the code for a procedure, _____ uses standardized symbols to show the steps the procedure must follow to reach its goal. (Points : 5)
pseudocode
a TOE chart
a class diagram
a flowchart
Question 3.3. (TCO 3) Computer memory locations where programmers can temporarily store and change data while an application is running are _____. (Points : 5)
classes
literals
constants
variables
Question 4.4. (TCO 3) In Visual Basic, which of the following correctly declares a named constant with the name strCOURSE that contains the string value “BIS311”? (Points : 5)
Const strCOURSE As String = “BIS311”
String Constant strCOURSE = “BIS311”
Dim strCOURSE As “BIS311”
Const String “BIS311” As strCOURSE
Question 5.5. (TCO 5) A _____ structure is used in an application when a decision needs to be made, followed by an action derived from that decision. (Points : 5)
selection
sequence
repetition
interrogative
Question 6.6. (TCO 5) If intQty contains 60, what will be the value of intPrice after executing the following code?
Select Case intQty
Case 1 To 50
intPrice = 10
Case 51 To 100
intPrice = 8
Case > 100
intPrice = 6
Case Else
intPrice = 0
End Select (Points : 5)
10
8
6
0
Question 7.7. (TCO 6) The loop below is classified as a(n) _____ loop.
Dim intNum As Integer = 2
Do
MsgBox( intNum.ToString() )
intNum *= intNum
Loop While intNum < 1000 (Points : 5)
infinite
pretest
posttest
counter-controlled
Question 8.8. (TCO 6) Which element of the following array contains the value “Red”?
Dim strColors() As String = {“Red”, “Green”, “Blue”, “Yellow”} (Points : 5)
strColors(4)
strColors(3)
strColors(1)
strColors(0)
Question 9.9. (TCO 7) The _____ of an independent Sub procedure usually begins with the Private keyword. (Points : 5)
Call statement
argument list
procedure footer
procedure header
Question 10.10. (TCO 7) In the following function, what should go in the blank in the function header?
Private Function GetRatio(dblNumerator As Double, dblDenominator As Double) _____
Dim dblRatio As Double
dblRatio = dblNumerator/dblDenominator
Return dblRatio
End Function (Points : 5)
ByVal
ByRef
As Integer
As Double
Question 11.11. (TCO 2) An application for a shipping company needs to keep track of the length, width, height, and weight of packages. Using object-oriented programming methods, in this application, the weight of a package would be represented by a(n) _____. (Points : 5)
object
attribute
method
class
Question 12.12. (TCO 4) (TCO 4) Consider the following class definition:
Public Class Box
Public Length As Double
Public Width As Double
Public Height As Double
Public Function GetVolume() As Double
Return Length * Width * Height
End Function
End Class
If crate is an instance of Box, which of the following statements assigns a value to a property? (Points : 5)
crate.Length = 42
dblVolume = crate.GetVolume()
crate.GetVolume(42)
Call crate.Length(42)
Question 13.13. (TCO 8) A programmer makes a connection between a Visual Basic application and a database using the _____. (Points : 5)
Database Integration tool
data box control
Data Source Configuration Wizard
Dataset Designer
Question 14.14. (TCO 9) The components of a two-tier architecture are _____. (Points : 5)
the primary and the secondary
the client and the server
the master and the subordinate
the alpha and the beta
Page 2
Question 1. 1. (TCOs 1, 2, and 3) You have been asked to develop an application with the following business requirements: The user will enter an original price. When the user clicks a Calculate Sale Price button, the application will calculate a sale price by multiplying the original price by 80%. The application will display the sale price to the user.
(a) Develop a TOE chart for this application. You do not need to put it in table form, but list what would go in the Task column, what would go in the Object column, and what would go in the Event column for each row of the chart. Your chart should have at least three rows: one for input, one for processing, and one for output.
(b) Write pseudocode for the button-click event procedure in this application.
(c) Identify two variables and one constant that you would declare for this application. For each, provide a variable or constant name that follows the syntax rules of Visual Basic and the Hungarian naming convention, and an appropriate Visual Basic data type. (Points : 30)
Spellchecker
Question 2. 2. (TCO 5) Consider the following Visual Basic code snippet:
If intScore >= 100 Then
lblMessage.Text = “Great job!”
Else
lblMessage.Text = “Better luck next time”
End If
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and justify your answer.
The control structure is an if statement that returns a message based on the value of the variable intScore.
(b) Describe step by step how this code will be executed and what will be displayed to the user for each of the following values of intScore: 99, 100, and 101.
For 99, the message displayed on the screen will be “Better luck next time” because 99 is less than 100.
For 100, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e. 100 =100 evaluates to true.
For 101, the message will be “Great job” as the value is included in the scoop on the variable intScore. i.e 101 >100 evaluates to true.
(c) Rewrite this code snippet so that it still produces the same results, but changing the condition in the first line from intScore >= 100 to intScore < 100. (Points : 30)
Question 3. 3. (TCO 6) Consider the following code snippet:
Dim intTotal As Integer = 0
For intNum As Integer = 1 To 5
intTotal += intNum
Next intNum
MessageBox.Show( intTotal.ToString() )
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points : 30)
Spellchecker
(a) What type of control structure is this? Be as specific as possible, and explain your answer.
The control structure is a “for” loop that controls the execution of the condition and incrementing the intNum variable by 1, until the value 5 is reached.
(b) Identify the counter variable and the accumulator variable in this loop. Explain your answer.
The counter variable is intNum as it is increased by one within the loop and used to control the loop while the accumulator variable is intTotal because it stores the incremented value.
(c) Describe step by step how this code will be executed and what value will be displayed in a message box to the user. (Points: 30)
The variable intTotal is initialised to 0, then the counter variable (intNum) is increased by one at each step until it obtains a value 5, then the loop stops. The message displayed on the screen will be: 0 1 2 3 4 5.
Question 1. 1. (TCO 7) (a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Spellchecker
(a) Explain the difference between passing by value and passing by reference when passing variables to a Sub procedure or function.
Passing by value refers to a method of referencing variables by initialising them to real values while passing by reference is a reference method that involves assigning values to functions through other variables.
(b) Describe a specific example of using a Sub procedure when you would pass a variable by value.
Function sum {
Result=12 ;}
(c) Describe a specific example of using a Sub procedure when you would pass a variable by reference. (Points : 30)
Function sum {
a=10, b=12;
Sum=a+b ;}
Question 2. 2. (TCOs 2 and 4) You have been asked to develop an application to keep track of employees’ scheduled vacations and ensure that all vacations are approved by the manager and that each employee does not exceed his or her maximum annual vacation time. Maximum annual vacation time is determined by the number of years the employee has worked for the firm. You are using object-oriented programming (OOP) to develop this application.
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Spellchecker
(a) Describe at least two classes that you could use in this application and what each class would represent in the real world.
(b) Describe at least two properties of each class you identified in part (a) and identify the data type you would use for each property.
(c) Describe at least one method of each class you identified in part (a), giving for each the method name and the action performed by the method. (Points : 30)
Question 3. 3. (TCOs 8, 9, and 10) (a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
Spellchecker
(a) Explain the roles of primary and foreign keys in a relational database.
(b) In a two-tier architecture with a thin client and fat server, describe the functions performed by the client and by the server in processing a request by a user for information from a database.
.
(c) In a Visual Basic application that retrieves data from a database, describe the role of a TableAdapter object. (Points : 30)
0 notes
Text
92% off #C++: A complete guide to INTERMEDIATE C++ – $10
C++ : Comprehensive C++ ‘Mobile optimized’ video training with examples on C++
Intermediate Level, – 1 hour, 16 lectures
Average rating 4.4/5 (4.4 (98 ratings) Instead of using a simple lifetime average, Udemy calculates a course’s star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.)
Course requirements:
A basic knowledge of C++ is required
Course description:
This course is in the intermediate training of C++ that helps you become a professional programmer in C++. I have structured this course in such way that both beginners and intermediate developers could learn new things. In this course, we will start our learning session from Arrays as array don’t have any direct application so we will just learn what are different arrays like the one-dimensional array and multi-dimensional array. We will use this gained knowledge in rest of the course. So I didn’t add much stuff under the section of Arrays, but you could get plenty of experience through other sections where we use them.
Right after this we have a detailed section of functions. Functions are vital if you are writing advance programs. So a very detailed explanation is required to know each and every concept of functions, with this mindset I tried my best to explain everything in this section of functions.
And the last part is on Structures. The structure is also imperative as it takes all the concepts of basic and intermediate training. So in the section of the structure, along with the learning of structures, we will revise the concepts as well. We use arrays, functions, nesting, and all other stuff to pass in the structure.
So that’s an opportunity for you to learn a lot from this course. Enroll in the course I see you inside.
Full details Understand major programming concepts Understand C++ Object Orientated Features C++ implementation understanding of each pattern Anyone who has spent hours and hours struggling to learn C++ with other bland books and resources People with the desire to learn and master the skill of programming in C++ which can lead to a wonder of opportunities This course is not for complete beginners and advance programmers
Reviews:
“Donot explain the terms clearly and alos in the present lecture it does not ecplain that what is coded inn function.It only showed the name of funtion “getvolume”.not where it mulyiplied the data to get volume.” (Usman Khan)
“I love this course! everything is clear and easy to follow. The instructor is very knowledgeable in the subject!” (Stefan Osterhagen)
“Good beginner course and great teacher/student communications! The course had a few little “quirks” in it, but the instructor was always there to get you back on the right track. Very well presented.” (Nikolaj Rasmussen)
About Instructor:
TweakCoder eLearning Solutions
Tweakcoder is an India-based leading publisher of high-quality eLearning solutions. Our expert team creates the web, mobile, and game development courses with comprehensive material and hands-on examples. We emphasise on teaching real life skills that are essential for progressing in today’s commercial environment. Our aim is to empower the students with easy to understand, but high-quality content using studio quality narrated videos backed-up with practical hands-on examples and comprehensive working files. Our teaching team consists of trained professionals having real-world expertise in their respective fields. The entirely online, self-paced learning model allows students to learn at their own pace. We are always looking forward to your comments, questions, suggestions and reviews to help us serve you better.
Instructor Other Courses:
HTML 5 : Kick start your Web Development career with HTML 5 Ankit Shrivastava, Web development trainer, IT Consultant (0) $10 $140 HTML 5 : Kick start your Web Development career with HTML 5 Learn C programming from scratch and become expert in C …………………………………………………………… TweakCoder eLearning Solutions coupons Development course coupon Udemy Development course coupon Programming Languages course coupon Udemy Programming Languages course coupon C++: A complete guide to INTERMEDIATE C++ C++: A complete guide to INTERMEDIATE C++ course coupon C++: A complete guide to INTERMEDIATE C++ coupon coupons
The post 92% off #C++: A complete guide to INTERMEDIATE C++ – $10 appeared first on Udemy Cupón/ Udemy Coupon/.
from Udemy Cupón/ Udemy Coupon/ http://coursetag.com/udemy/coupon/92-off-c-a-complete-guide-to-intermediate-c-10/ from Course Tag https://coursetagcom.tumblr.com/post/156928659203
0 notes
Photo
#FineAndThinningHair. Get the volume you always wanted. #Evolve Hair Integration System @AMHair #GetHair #GetVolume #GetHappy
0 notes
Photo
Cut and highlight by @vnicole878 #vaianiclarkesalon #highlights #getvolume #finehair #natural #hairstyles #haircut #hairsalon #bostonstylist #Boston #goldwell #kerastase #nectartherique #hair #sweepbang
#nectartherique#hairsalon#getvolume#finehair#sweepbang#highlights#bostonstylist#haircut#goldwell#hair#kerastase#boston#hairstyles#natural#vaianiclarkesalon
0 notes
Text
ITSE 2317 Program 2 – TwoDimensionalShape Solved
Implement the Shape hierarchy shown in the diagram below. Each TwoDimensionalShape should contain method getArea to calculate the area of the two-dimensional shape. Each ThreeDimensionalShape should have methods getArea and getVolume to calculate the surface area and volume, respectively, of the three-dimensional shape. Create a program that uses an array of Shape references to objects of each…
View On WordPress
0 notes