Premium Essay

Nt1330 Unit 5 Assignment

Submitted By
Words 1284
Pages 6
National 5 Assessment.

1.1
Line 1 creates the total cost variable which will be used to display the total overall cost of all of the books that you are buying, with the discount and voucher code price also taken off them.
Line 2 creates the amountofboks variable which is a counter used in the expression to find the total cost of everything.
Line 3 creates the variable priceofbook which is also used in the expression to calculate the total cost of the books.
Line 4 creates a string type variable called voucher which is used to compare if the users input of the voucher code is the same as the actual voucher code.
Line 5 asks the user for the amount of books that they are ordering, and the input will assign why the entered to the ‘amountofbooks’ …show more content…
Line 11 adds the total cost line to the listbox.
Line 12, 13, 14, 15, 16, and 17 all use the ‘if’ comparison function to decide if the user is able to use a voucher or not, and what % of discount it will display in the listbox.
Line 18 is the final line of code uses concatenation, which means that it will attach a string and a variable together and it will add that line to the listbox, it also uses the “n” to round the variable to two decimal places.
1.2
The purpose of a range is to control the minimum and maximum amount of data that you can use in variable, or possibly the bounds of an array, upper and lower.
1.3
Variables in programmed are a named storage location which are stored in the RAM, the Random Access Memory. There are multiple types of variables: Integer, Double, Array, Float, Real, Boolean, Long, Short, and a string. A double can be used to store decimal points. An array is a set of values. An integer can store a whole number. A Boolean stores a yes or no, a long stores up to 9223372036854775807, or

Similar Documents

Premium Essay

Nt1330 Unit 5 Assignment

...In my current position in the Clinical IT department, I have the pleasure of getting first hand and input of proposed changes. I feel with my 25 years of critical care background I have a great deal of insight and knowledge that I could contribute, especially with respect to patient safety. Our Clinical IT is key in implementing new and/or changes in our policies and build documentation that would support the policy. As we would build the documentation, we would include the particular elements and add required fields. Upon completion of these documents, they then were sent to our Policy & Procedure committee for review comparing the policy with the document. In review of the National Patient Safety Goal NPSG.01.01.01, Identify patients...

Words: 366 - Pages: 2

Premium Essay

Nt1330 Unit 5 Assignment

...It should be as follows: Again, the loop has been executed until it has found to be violating the test condition. Suppose the test condition was found to be false. Let us modify the above program to the following: object TestProgram { def main(args: Array[String]) { // Declaring our local variable: var x = 50; // executing the do loop do{ println( "The value of x is: " + x ); x = x + 1; }while( x < 5 ) } } The value of variable “x” should be less than 5 but we have initialized it to 50. Just run the program and observe the output. It will be as follows: The reason for the above output is that the loop was executed once before the test condition was evaluated. The “for” Loops This type of loop lets the programmer to execute a certain part of code a certain number of times. The number of times the loop is to be executed is always specified inside the loop. This loop takes various forms which we will discuss in this chapter. “for” Loop with Ranges It is the simplest “for “ loop which is supported in Scala and it takes the following syntax: for( var a <- Range ){ statement(s);...

Words: 1322 - Pages: 6

Premium Essay

Nt1330 Unit 5 Assignment

...limitation. Paypal said that it will be held for 180 days. I dont think that it is legal to hold the money for that long time without proper explanation. Consumer_Complaint_Narratives 4 0 XXXX has frozen my safe with {$100.00} in it and is not allowing me to access my funds. I have been trying for 2 months to access my funds, but the account has been frozen. I have been trying to contact customer service, but have been unable to reach them. They are holding my {$100.00}, and I want to either load my card or have them mail it to me. My username on their site to access my safe is XXXXXXXXXXXX 'm attaching a picuture of what happens when I try to log in. There is {$100.00} in the safe that is mine and they are holding. Consumer_Complaint_Narratives 5 2 XXXX/XXXX/15 I was a victim of a IRS scam, some XXXX called me and I fall for it and purchased the prepaid cards XXXX it and them the numbers of the XXXX prepaid cards, an around two hours later I realized it was a scam so I called the number in the back of the cards, a CSR inform me the the money was on the cards and she ( XXXX ) was putting a stop on the cards. I was happy as thinking did n't loose my money and everything was fine just like she said, also she give me a ITS number of the claim and explain the it will take XXXX to XXXX business day to send me a check, I explain the situation and ask her if she was sure the sto payment was done because this was a time sensitive situation and she said yes. Week latter I called the company to...

Words: 993 - Pages: 4

Premium Essay

Nt1330 Unit 5 Assignment

...• TEST EXECUTION During this phase test team will carry out the testing based on the test plans and the test cases prepared. Bugs will be reported back to the development team for correction and retesting will be performed.Execute tests as per plan document test results, and log defects for failed cases Map defects to test cases in RTM ,Retest the defect fixes and Track the defects to closure • TEST CYCLE CLOSURE Testing team will meet , discuss and analyze testing artifacts to identify strategies that have to be implemented in future, taking lessons from the current test cycle. The idea is to remove the process bottlenecks for future test cycles and share best practices for any similar projects in future. Evaluate cycle completion criteria based on Time,Test coverage,Cost,Software,Critical Business Objectives , Quality Prepare test metrics based on the above parameters. Document the learning out of the project Prepare Test closure report Qualitative and quantitative reporting of quality of the work product to the customer. Test result analysis to find out the defect distribution by type and severity. Project purpose The standard provides for ultra low complexity, ultra low cost, ultra low power consumption, and low data rate wireless connectivity among inexpensive devices. The raw data rate is high enough (250 kb/s) to satisfy a set of applications but is also scaleable down to the needs of sensor and automation needs (20 kb/s or below) for wireless communications. Project...

Words: 649 - Pages: 3

Premium Essay

Nt1330 Unit 5 Assignment 1

...und the time I come on there are very little staff, sometimes even none, this leads to everyone thinking they can do whatever whenever. You have people spamming, swearing and being racist. I also believe I am on quite a lot so I will be able to keep the server under control when there are no staff and even when there are staff. I believe I can make a difference by being there for people and making sure everyone feels comfortable where they are. This server is good and I don’t want those few people ruining the experience for others. I have been with cyclone network for a long time now and am getting to know everyone. I have a great sense of humour and like getting to know new people, I love the feeling of being welcomed whenever i come on the server everyone says "hi" the community on this server is great! even though im not staff at the moment i still give away advice and help everyone who needs it. Being staff is a step up from that and its not just being helpful its a responsibility. I want to have the responsibility to help others and keep the server a calm and relaxing place to be in. I want to be there even if i am not needed just for the support. If i become staff i will become part of another team, but this teams goal is different, this teams goal is to protect the other team and make sure all of them are enjoying themselves to the max. Our job is to help and make them enjoy themselves, even if that means muting, kicking or even banning another player. i understand that...

Words: 522 - Pages: 3

Premium Essay

Nt1330 Unit 5 Assignment 1

...Project Charter for improving STA410 performance. Adapted from iSixSigma (2015). The business justification for this project is related to the ability to meet the required demand by the customer and the direct loss of units coming from the inability to run at rate. The inability to meet the demand would also impact the customer with a daily loss of 218 units which could generate an impact of millions of dollars very...

Words: 637 - Pages: 3

Premium Essay

Nt1330 Unit 5 Assignment 1

...game as well. If you're able to do what you do in TeamSpeak in the game, that's impressive. Positive Attitude - Having a positive attitude is what lessens the toxicity in a community. Just not being down, or showing any sign of you being mad will allow the player to respect the staff and server. It's simple to quit one server and go to another, but there would have to be a reason to do so. Ontime - I have been playing ColdNetwork for quite some time. I lost all my interest in minecraft then I decided to play minecraft again because of friends. Watching his videos really inspired me to start playing again to here I am. My ontime may not be very flattering but I promise over this weekend or after I finish staffing a server it is over the 5 day mark. Observant - I consider myself a leader, not a follower. But if I see a high ranked staff member doing something so sufficiently in a screenshare I am likely to do it myself. I enjoy learning new ways to do something such as screenshare....

Words: 752 - Pages: 4

Premium Essay

Nt1330 Unit 5 Assignment 2

...I have highlighted this during the last PMC meeting that SSI website didn’t get good feedback during UAT. Despite that it went for Usability test which engages internal and external users. During the meeting, I have also highlighted that NEC need to ensure that systems are tested and reviewed by project teams before requesting users to test. The system should be ready for testing by end user when project teams have 70% assurance on the quality of the product. Current Situation: I have attached links to SSI and NCSS website at UAT stage (http://ssiuat/SSIUAT and http://ncssuat/NCSSUAT). From the few clicks to these sites, you can clearly see that SSI website is not ‘product ready’ in comparison to NCSS website. Following are the broad issues with SSI website: • Missing Webpages which do not conform to agreed Information Architecture • Missing graphics and texts • Links do not work • Inconsistent font and format of text used • Previously agreed by NEC that SSI Website will be able to link TMM and update upcoming courses. There is a disconnect between TMM systems developer and website developer. SSI users have expressed their frustration as they can clearly see that the product is not ready for testing and the entire exercise of creating test report will be futile. It is clearly felt by users that UAT and Usability is done as an activity to comply to project timeline. This has severe repercussion downstream as users do not wish to submit gap documents where more than 50% of...

Words: 451 - Pages: 2

Premium Essay

Nt1330 Unit 5 Assignment 1

...The first ever server I was a staff member on was a server called GoPvP( Which they are currently trying to start up again ), I applied and was accepted after waiting for a week, they got me in ts and asked me a few questions and they promoted me to a Helper. After being helper for almost a week they promoted me to Moderator, I was demoted and banned from the server because Ruthless_Slayer ( The owner ) thought he saw a ghost client when he screenshared me because I was getting reported ingame by a lot of people, the server had around 500 people on daily. The second server I was staff on was a server called SmoothPvP, the server was owned by a friend of mine ( FuZzYDuB ), I applied on there and was accepted to helper after waiting around 3 or 4 days. This server wasn't too popular, it had around 10-15 players online daily, I was helper for half a week and got promoted to Moderator after being really active and supportive towards the server. I was not demoted and I did not resign, the server was shut down due to few donations. The third server I was staff on was a server called PurePvP, this was an HCF server with around 300 players on daily, I was in a power faction when one of the staff members said that I should apply for staff because I was really active and helpful in chat, so I said 'Yeah why not, let's do it' I then went to their forums and made a staff application, I was accepted after waiting 2 days. They brought me in ts and asked me some questions and promoted me to...

Words: 488 - Pages: 2

Premium Essay

Nt1330 Unit 5 Assignment 1

...Starting the lab, we had to do a few security tasks on the laptop. One of the first things we did was create different user accounts. This involves setting up multiple accounts with different access levels, which helps ensure that only authorized users can access important information. We also created different files, including zip files, to help us organize and secure data. Learning to use Ctrl+Alt+Delete was part of the lab as well. This shortcut is useful for tasks like restarting the computer or accessing the task manager to close unresponsive programs. There were many new things I learned during the lab. Some tasks, like creating user accounts and organizing files, are straightforward. Others are more complex and harder to remember. For example, I learned how to use the task manager to close programs that were not responding. This is important because it helps keep the system stable and prevents software issues from getting worse. The task manager is also useful for monitoring system performance and managing startup programs, which can affect the computer’s speed. Another important tool we used was the control panel. The control panel allows you to access and manage various system settings, such as system and security settings and user accounts. This is important for performing administrative tasks and ensuring the system is set up correctly. For instance, in the control panel, you can adjust security settings to protect the system from threats, manage user accounts to control...

Words: 514 - Pages: 3

Premium Essay

Fsmo Role Ayer Nate Method

...Sole's Blog SOLVE YOUR IT PROBLEMS FASTER, SAVE YOUR FEET AND GET MORE TIME ON YOUTUBE! * HOME * * ABOUT SOLE VIKTOR * * USEFULL LINKS « How to publish a website with both Anonymous and Forms Based Authentication in ISA 2006 How to configure ISA 2006 with FBA for OWA and NTLM for Outlook Anywhere and Autodiscover in Exchange 2007 » How to place FSMO and Global Catalog roles in Active Directory During installation of Active Directory on a Windows Server 2000/2003/2008 all FSMO roles will automatically be installed on the first server. But Best Practice dictates to move some of theese Flexible Single Master of Operation (FSMO) roles to seperate servers. If you only have one domain controller (not recommended), there is nothing to do since all roles must be on this server, but if you have multiple servers you should move some of theese roles on to more servers. It is also important to be aware of what servers are Global Catalog servers, especially if you have more than one domain and even if only one domain, they will be prefered by applications like Exchange server. It is recommended to place the forest roles on one Domain Controller (DC) and the domain roles on another server. If not all Domain Controllers are Global Catalog servers, it is also important to place the infrastructure master on a server that is NOT a Global Catalog server. Recommended Best Practice setup of FSMO roles. Domain Controller #1 Place the two forest roles on this server. * Schema Master...

Words: 10360 - Pages: 42

Premium Essay

Client Server 2

...ITT Technical Institute 3825 West Cheyenne Avenue, Suite 600 North Las Vegas, Nevada 89032 NT1330 Client-Server networking II Name: ____________________________________________________ Date: _______________________ NT1330 Week 1 Unit 1 Assignment 1 Instructions: 1. Complete this assignment and submit it prior to the beginning of the next class meeting. 2. Completely fill in the bubble for the correct answer(s), any other mark such as an X or just a line through it will be marked as incorrect. True/False Indicate whether the statement is true or false. 1. IPv6 uses 128 bits, or 16 bytes, for addressing, thus providing 2128 (about 340 billion) unique addresses. A True B False 2. Dynamic IP addresses can be assigned when administering TCP/IP hosts. These addresses must be configured and maintained manually. A B True False 3. Using DHCP relay agents eliminates the need to have a DHCP server on every subnet. A True B False 4. One benefit of the hierarchical structure of DNS is that it is possible to have two hosts with the same host names that are in different locations in the hierarchy. A B True False 5. ICS turns your computer into a router so that other computers on the local network can access its Internet connection. A B True False 6. If you inappropriately allowed network discovery in a public network environment (for example, an Internet café), you would allow total strangers to see and access any file shares on your system. A B True...

Words: 1872 - Pages: 8

Premium Essay

Test

...Windows environment. Windows Security Syllabus Where Does This Course Belong? This course is required for the Bachelor of Science in Information Systems Security program. This program covers the following core areas:    Foundational Courses Technical Courses BSISS Project The following diagram demonstrates how this course fits in the program:    IS4799 NT2799 IS4670 ISC Capstone Project Capstone ProjectCybercrime Forensics NSA    NT2580 NT2670  Introduction to  Information Security IS4680 IS4560 NT2580 NT2670 Email and Web Services Hacking and Introduction to  Security Auditing for Compliance Countermeasures Information Security Email and Web Services      NT1230 NT1330 Client-Server Client-Server  Networking I Networking II  IS3230 IS3350 NT1230 NT1330  Issues Client-Server Client-Server  SecurityContext in Legal Access Security Networking I Networking II   NT1110  NT1210 Structure and Introduction to  ComputerLogic Networking    IS3120 IS3110 NT1210 Network  Risk Management in Introduction to General Education / General Studies NT2580 NT2799 Communications Information Technology Introduction to Information Security NSANetworking Capstone Project IS4550 NT2640 Security Policies and Implementation IP NT2640 Networking IP Networking PT2520...

Words: 2305 - Pages: 10

Premium Essay

Nt1230 Syllabus

...aspects of typical network server functions. Client-Server Networking I Syllabus Where Does This Course Belong? 1st QTR GS1140 NT1110 GS1145 Problem Solving Theory Computer Structure and Logic Strategies for the Technical Professional 2nd QTR NT1210 Introduction to Networking NT1230 Client-Server Networking I MA1210 College Mathematics I 3rd QTR NT1310 NT1330 MA1310 4th QTR PT1420 NT1430 EN1320 5th QTR PT2520 NT2580 EN1420 6th QTR NT2640 NT2670 CO2520 7th QTR NT2799 SP2750 Physical Networking Client-Server Networking II College Mathematics II Introduction to Programming Linux Networking Composition I Database Concepts Introduction to Information Security Composition II IP Networking Email and Web Services Communications Network Systems Administration Capstone Project Group Theory The follow diagram indicates how this course relates to other courses in the NSA program: 1 Date: 8/31/2012 Client-Server Networking I Syllabus NT2799 NSA Capstone Project NT2580 Introduction to Information Security NT2670 Email and Web Services NT2640 IP Networking PT2520 Database Concepts NT1330 Client-Server Networking II NT1230 Client-Server Networking I NT1430 Linux Networking PT1420...

Words: 1834 - Pages: 8

Premium Essay

Nt1330 Unit 2

...NT1330 Unit 2 Assignment. Due before class Week 3. A. Students will respond to the following technical support email from a junior IT admin with further questions and considerations.   Facilitation   Read the scenario below and respond in detail with clarifying questions, suggested approaches and/or possible solutions.   Dear IT Admin: I am working at a branch office and have been tasked with changing out the DHCP scope to match the overall corporate IP address scheme. The main office assigned me an IP address range of 192.168.0.200 through 192.168.0.225. I changed the scope on Friday afternoon and came in on Monday morning to discover that only some of the workstations had picked up new leases from the new DHCP scope. Any ideas as to what may be happening, what I might check or adjust? Thank you, Junior Admin B. Students will respond to the following technical support email from a junior IT admin with further questions and considerations. Facilitation Read the scenario below and respond in detail with clarifying questions, recommendations and/or considerations. Dear IT Admin: I am working at two branch offices and have been tasked with where to place Active-Directory Integrated DNS Servers and what type to use. One of the branch offices is very small (maybe 5 users) and has very slow network connectivity. Do I need a DNS Server and, if so, which type of zone should it host? The second branch office is much larger (about 30 users) and has better...

Words: 276 - Pages: 2