...length of room 1 times the width of room 1(in feet). This will give the area of room one, which will in turn become the useable area for this particular room. The same length times width (L x W) formula will then be used for all subsequent rooms. After the area for all four rooms has been found, the sum of the area of each room will be the final output for useable square feet. The output values are as follows: * L1: The length for room 1 * W1: The width for room 1 * L2: The length for room 2 * W2: The width for room 2 * L3: The length for room 3 * W3: The width for room 3 * L4: The length for room 4 * W4: The width for room 4 * T1: Total square feet for room 1 * T2: Total square feet for room 2 * T3: Total square feet for room 3 * T4: Total square feet for room 4 * Total_SqFt: Total useable square footage in the house Test Plan: Test Case # | Input | Expected Output | 1 | Room 1 - Length:20 Width:14Room 2: - Length:16 Width:12Room 3: - Length:22 Width:16Room 4: - Length:12 Width:10 | Square Feet: 944 | 2 | Room 1 - Length:17 Width:11Room 2: - Length:11 Width:9Room 3: - Length:13 Width:16Room 4: - Length:19 Width:12 | Square Feet: 722 | 3 | Room 1 - Length:10 Width:8Room 2: - Length:12 Width:10Room 3: - Length:14 Width:12Room 4: - Length:16 Width:14 | Square Feet: 592 | Psuedocode: //This program will calculate the useable area of a house with four rectangular rooms in square feet //The sum of...
Words: 653 - Pages: 3
...MIS 6309, Prof. A. Lahiri Team Homework #2 ------------------------------------------------- 1. The answers are as follows: a) E-R diagram: M Location Positions Industry Has Located in Belongs to M 1 M Employer 1 1 M Location Positions Industry Has Located in Belongs to M 1 M Employer 1 1 b) Physical Layout (primary keys underlined, foreign keys double-underlined): Position PositionID int PositionTitle varchar(50) EmployerID varchar(5) Wage Money HoursPerWeek int Experience bit Openings int Employer EmployerID varchar(5) EmployerName varchar(50) StreetAddress varchar(50) City varchar(50) StateProv varchar(2) PostalCode varchar(7) Country varchar(50) ContactFirstName varchar(50) ContactLastName varchar(50) Position varchar(50) Phone varchar(10) Website bit NAICSCode varchar(6) Comments varchar(255), must allow NULL NAICS NAICSCode varchar(6) NAICSDesc varchar(50) Location Abv varchar(2) Location varchar(50) c) Create table statements: CREATE TABLE Location( Abv varchar(2) PRIMARY KEY NOT NULL, Location varchar(50) NOT NULL ); GO CREATE TABLE NAICS( NAICSCode varchar(6) PRIMARY KEY NOT NULL, NAICSDesc varchar(50) NOT NULL ); GO CREATE TABLE Employer( EmployerID varchar(5) PRIMARY KEY NOT NULL, EmployerName varchar(50) NULL, StreetAddress varchar(50) NULL...
Words: 1260 - Pages: 6
...lw $t3, 0($t1) #then set minB = B[i] loopMaxA: blt $s0, $t4, loopMaxB #if A[i] < maxA, go to next lw $t4, 0($t0) #then set maxA = A[i] loopMaxB: blt $s1, $t5, counter #if A[i] < maxB, go to next lw $t5, 0($t1) #then set maxB = B[i] counter: addi $t6, $t6, 1 #increase i by 1 addi $t0, $t0, 4 #move to the next index in arrA addi $t1, $t1, 4 #move to the next index in arrB bne $t6, $t7, loop2 #if i is not 10 print: li $v0, 4 #print string la $a0, A #Print "Array A " syscall li $v0, 4 #print string la $a0, Max #Print "Max: " syscall li $v0, 1 #print a number move $a0, $t4 #print value syscall li $v0, 4 #print string la $a0, Min #print " Min: " syscall li $v0, 1 #print int move $a0, $t2 #print number syscall li $v0, 4 #print string la $a0, newline #print new line syscall li $v0, 4 #print string la $a0, B #print "Array B " syscall li $v0, 4 #print string la ...
Words: 1082 - Pages: 5
... 2. A dual trace oscilloscope. 3. A logical test pen. 4. An ispLSI1032 chip. 5. IspExpert of Lattice Co. Ltd. 3.Principles and Requirements The experiment is to design a hard-wired controller with an ispLSI1032 chip for the TEC-4 platform. The controller should perform five console instructions: KRD,KWE,KLD,KRR, nine machine instructions: ADD,SUB,MUL,AND,STA,LDA,JMP, JC,STP and the interrupts. Preparations: Timng Signal Generator: MF signal is generated by a crystal oscillator (frequency 1MHz), while producing T1, T2, T3, T4, W1, W2, W3, W4 timing signal, relationship as shown below. Where W1, W2, W3, W4 for the hard-wired controller to the beat signal. Experimental platform offers optional experimental area device and download IspLSI1032 chip socket, you can download from a PC, programming. DB, DP, DZ: DP = 1, the computer work in a single shot, according to a QD to send a timing signal T1, T2, T3, T4; DB = 1, the computer is in single step mode, press the send a QD Group W1,...
Words: 2111 - Pages: 9
...Int. J. Production Economics 133 (2011) 25–34 Contents lists available at ScienceDirect Int. J. Production Economics journal homepage: www.elsevier.com/locate/ijpe Identifying risk issues and research advancements in supply chain risk management Ou Tang a,c, S. Nurmaya Musa a,b,n a Department of Management and Engineering, Link¨ping University, SE-581 83 Link¨ping, Sweden o o Department of Engineering Design and Manufacture, University of Malaya, 50603 Kuala Lumpur, Malaysia c School of Economics & Management, Tongji University, Shanghai 200092, PR China b a r t i c l e in fo Available online 3 July 2010 Keywords: Supply chain Risk management Citation/co-citation analysis abstract The purpose of this paper is to investigate the research development in supply chain risk management (SCRM), which has shown an increasing global attention in recent years. Literature survey and citation/ co-citation analysis are used to fulfil the research task. Literature survey has undertaken a thorough search of articles on selected journals relevant to supply chain operations management. Meanwhile, citation/co-citation analysis uses Web of Sciences database to disclose SCRM development between 1995 and 2009. Both the approaches show similar trends of rising publications over the past 15 years. This review has piloted us to identify and classify the potential risk associated with different flows, namely material, cash and information flows. Consequently, we identify some research...
Words: 8250 - Pages: 33
...Cloud computing is a new area of research currently being studied [1]. Basically it’s not a technology it’s a computing model. We can also define Cloud computing as both the applications delivered as services over the internet and the hardware and system software in the data centers that provide those services [2]. OR type of parallel and distributed system consisting of a collection of interconnected and virtualized computers that are dynamically provisioned and presented as one or more unified computing resources [3].Cloud computing purely relies on the fact that sharing computing resources rather to have applications on local servers or devices if resources are not equally distributed then this will result in resource wastage. The cloud computing platform guarantees subscribers that it sticks to the service level agreement (SLA) by providing resources as service and by needs based on the broker policy[4]. So in order to get maximum benefit from cloud computing there is need to dynamically balance the load among servers and improve utilization of resources. There are still some areas that are needed to be focused on in cloud computing. Resource Management Task Scheduling The task scheduling goals of Cloud computing is provide optimal tasks scheduling for users, and provide the entire cloud system throughput and QoS at the same time. Scheduling is the process of allocating tasks to available resources on the basis of tasks need [5].The main purpose for scheduling is to...
Words: 2467 - Pages: 10
...Term Paper Object Oriented Programming CSE202 Topic: Fast Food Automation system. Submitted to: Submitted by: Er. Jaspreet Kaur Diksha Keshri K1001A08 11007015 Introduction This is a mini project of object oriented programming named as “Fast Food Automation”. In this project I have used many header files like <iostream.h>, <stdlib.h>, <process.h>.This project offers many cuisine option like Southindian, Chinese, Italian. Various Classes have been made in this project that contains various type of food, the number of food ordered, the display function that shows pricelist of the respective cuisine ,it’s member function offers option for user to select food ,and after selecting a food ,the function ask whether the user wish to continue the respective cuisine or wish to go to the main menu that controls the whole program. The main menu contains the various option like 1.Place an order. 2Billing. 3Quit. In order section there are various cuisine option like southindian,Punjabi,italain,Chinese,etc.This option offers a great variety for the customers . This program helps the shopkeeper to show various menu available to the customer and can take order with the help of program and can also generate the bill of the various cuisines. This Project is made in Devc++ compiler. In this project I have used file handling to store the bill of every session. ...
Words: 2866 - Pages: 12
...CHARTERED FINANCIAL ANALYST Texas BA II Calculator Workshop CHARTERED FINANCIAL ANALYST Setting up your BAII Calculator Workshop Setting up your calculator (BAII Plus) Decimal places &|F! Set to mathematical precedence &|"&! No. of payments per year &-K Clear time value calculations &0 Calculator Workshop Memory function The calculator can store numbers for you Example: You calculate the answer to 2 + 3.5 = 5.5 and then wish to store it Press D then K (5.5 has now been stored and assigned to button K Having cleared the screen (P), it is now possible to recall the number by pressing J then K It is always possible to recall the last answer from the calculator by pressing & and then x CHARTERED FINANCIAL ANALYST Nominal vs. Effective Interest Rates Calculator Workshop Calculating nominal and effective rates Periodic rate (r) Nominal/stated rate r x Annual no. of periods Effective Annual Rate (EAR) EAR = (1 + r)12/n – 1 Where n = number of months Example: Calculating nominal and effective rates Calculate the nominal rate from a 4% six-monthly periodic rate Calculate the EAR from a 4% six-monthly rate Calculate the EAR from a nominal rate of 8% paid quarterly Calculator Workshop Example: 8% paid 6-monthly is, in effect, 8.16% 8% paid quarterly is, in effect, 8.243% 0.08 FV = $100 1 + = $108.243 4 r Effective rate = 1 + − 1 n where r is the nominal rate n 4 Calculator Workshop ...
Words: 2388 - Pages: 10
...paracrine signalstimulates adjacent target cell (para= beside) * autocrine signal stimulates itself (auto= self) IV. Chemical classes of hormones: * Proteins multiple peptides/ long polypeptide chain - ex: glucagon/ insulin * Steroids made of cholesterol * ex: testosterone/ estrogen * cholesterol: * 20-22 desmolase acts on cholesterol to make a 21 carbon molecule called pregnenolane (aka P450SCC- Side Chain clearing) * 20-22 desmolase is the 1st enzyme to modify cholesterol during steroidegenisis (synthesis of a seriod) * Peptides short chain of amino acids via peptide bonds * ex: TRH- tripepide/ Thyroxine Releasing Hormone/ oT- nonapeptide * amino acid: * Tyrosine: Tyr used to make T3 and T4 (metabolic hormones) * Cystine: Cys sulfer containing; used to synthesize oxytocin (nonapeptide with disulfide bond b/t C #1 and #6) disulfide bond formed via dehydrogenation of 2 Cys * Glycoprotein a mix b/t carb. (sugar) and protein (glyco= sugar) * Ex: TSH Thyroid Stimulating...
Words: 4217 - Pages: 17
...Four people are selling tickets at the same time. The number of all tickets is 40. Each ticket only can be sold one time. import java.util.concurrent.locks.ReentrantLock; public class ThreadTest implements Runnable { int tickets = 40; ReentrantLock lock = new ReentrantLock(); public void run() { while (true) { lock.lock(); try { if (tickets > 0) { System.out.println(Thread.currentThread().getName() + "is selling NO."+ tickets + " ticket."); --tickets; } lock.unlock(); } catch (Exception e) { lock.unlock(); } } } } public class Demo1 { public static void main(String[] args) { ThreadTest tt = new ThreadTest(); Thread t1 = new Thread(tt); Thread t2 = new Thread(tt); Thread t3 = new Thread(tt); Thread t4 = new Thread(tt); t1.start(); t2.start(); t3.start(); t4.start(); } } result: Thread-0is Thread-0is Thread-0is Thread-0is Thread-0is Thread-0is Thread-0is Thread-0is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is Thread-3is selling selling selling selling selling selling selling selling selling selling selling selling selling selling selling selling selling selling...
Words: 613 - Pages: 3
...[pic] TERM PAPER ON “HOSTEL MANAGEMENT” NAME : Rakesh kumar ranjan COURSE: btech (hons.) Roll NO: r260-b39 SUBMITTED TO: MRS. SUMIT KAUR MEHTA ACKNOWLEDGEMENT This project is a welcome and challenging experience for us as it took a great deal of hard work and dedication for its successful completion. It’s our pleasure to take this opportunity to thank all those who help us directly or indirectly in preparation of this report. We would also like to very sincere thank to our project guide Lecturer Mr. Mohantesh who supported us technically as well as morally in every stage of the project. Without their guidance and support, this project would not have seen light of the day. It gives us immense in expressing a deep sense of gratitude and sincere thanks to Lovely Professional University. There times in such project when clock beats you again and again and you run out of energy and you want to finish it once and forever. Last but not the least we thank our family for their boost and support in every sphere. Their vital push infused a sense of insurgency in us. RAKESH KUMAR RANJAN Table of contents:- #Introduction 3 #SOURCE OF INFORMATION 5 #PROPOSED SYSTEM 6 #FEATURES OF THE PROPOSED SYSTEM: 7 #System design 8 #source code 10 #Out put of program 17 #Testing of program ...
Words: 969 - Pages: 4
...Name | Description | Parent | Scope | Trigger | DOWNSHIFT21 | | shift_logic [000] | LOCAL | EITHER_EDGE | DOWNSHIFT32 | | shift_logic [000] | LOCAL | EITHER_EDGE | DOWNSHIFT43 | | shift_logic [000] | LOCAL | EITHER_EDGE | UPSHIFT12 | | shift_logic [000] | LOCAL | EITHER_EDGE | UPSHIFT23 | | shift_logic [000] | LOCAL | EITHER_EDGE | UPSHIFT34 | | shift_logic [000] | LOCAL | EITHER_EDGE | Table 1-2. Data Properties Name | Description | Parent | Scope | Units | Range | Data Type | Tconfirm | | sf_car [000] | CONSTANT | | | double | Tconfirm | | shift_logic [000] | CONSTANT | | | double | down_threshold | | shift_logic [000] | LOCAL | | | double | gear | | shift_logic [000] | OUTPUT | int | 1...4 | double | tdn | | shift_logic [000] | LOCAL | | | double | throttle | | shift_logic [000] | INPUT | double | | double | tup | | shift_logic [000] | LOCAL | | | double | up_threshold | | shift_logic [000] | LOCAL | | | double | vehicle_speed | | shift_logic [000] | INPUT | double | | double | Chart - shift_logic Machine | sf_car | Charts | shift_logic [000] | Created By | Unknown | Version | none | Data | Tconfirm [000] | Target | sfun | Machine | sf_car [000] | Description | Default S-Function target. | Code Command | sfc | Code Flags | -sfun-debug-bitsets-silent-nocomments | Make Command | mex -v | Chart | shift_logic | Machine | sf_car [000] | Œ...
Words: 670 - Pages: 3
...Estándares Transact-SQL Buenas Prácticas de Programación 1. Convenciones y Estándares de Nombres Nota: Los términos “notación Pascal” y “notación de Camell” son usados a través de este documento. Notación Pascal – El primer carácter de todas las palabras se escribe en Mayúsculas y los otros caracteres en minúsculas. Ejemplo: ColorDeFondo Notación de Camell – El primer carácter de todas las palabras, excepto de la primera palabra se escribe en Mayúsculas y los otros caracteres en minúsculas. Ejemplo: colorDeFondo 1. Usa notación Pascal para el nombre de las Tablas CREATE TABLE dbo.Employee 2. Usa notación Pascal para el nombre de los campos de tabla CREATE TABLE dbo.Employee ( IdEmployee INT, FirstName VARCHAR(20), LastName VARCHAR(20) ) 3. NO usar nunca “sp_”, La razón es que: SQL Server reconoce el prefijo “sp_” como “System Stored Procedure”, es decir, un procedimiento almacenado de Sistema y lo buscaría en la Base de Datos. Usa la siguiente sintaxis para los nombres de los Stored procedures: Usp_<Nombre Esquema>_<Nombre Tabla> _<Accion> Ejemplo: usp_GEN_Employee_Insert usp_GEN_Employee_GetAll 4. Usa esquemas para agrupar los objetos como tablas, los nombres deben de ser Abreviados. Incorrecto: GEN_Employee Correcto: GEN.Employee 2. Consideraciones en el diseño de base de datos 1. El nombre de la base de datos debe de asemejarse al nombre de la aplicación, no deberá de contener...
Words: 2608 - Pages: 11
... ------------------------------------------------------------------------------------------------------------------- Assignment COURSE- Modern Web Programming Tools and Techniques-I COURSE CODE- CAP618T SUBMITTED BY: SUBMITTED TO: Anil Kumar MANDEEP KAUR Roll-A11 Reg. - 11009839 Sec- D1R05 Q:1 Take a JavaBean Object named “Profession” with properties domain and expertise. Show the use of all 4 scope types on this object. Ans: Profession.jsp file package pk; public class profession { int domain; int expertise; public int getdomain() { return domain; } public void setdomain(int a) { this.domain=a; } public int getexpertise() { return expertise; } public void setexpertise(int b) { this.expertise=b; } } 1) Index.jsp file(for session Object) 2) Index.jsp file(for Page Object) 3) Index.jsp file(for Request Object) 4) Index.jsp file(for Application Object) Q:2 Discuss and Demonstrate the use of all page directive attributes. Give minimum 2 separate types of examples for each attribute, to make it clear that how that attribute is effecting output. Ans: Page...
Words: 2181 - Pages: 9
...BIOS/DOS calls) is that an external device, not programmer, causes the hardware interrupt to occur. For eg. There is a keyboard interrupt which causes the PC to read a character typed. • Types of Interrupts and Priorities – – – – – Reset (Highest Priority) Internal Interrupts and Exceptions Software Interrupts: SWI (INT #) NonMaskable Interrupts (NMI): External Hardware External (maskable) Hardware (Lowest Priority) Interrupt Vectors • All interrupts involve obtaining a vector (8 bit #) which is used by the MPU to fetch the address of the Interrupt Service Routine (ISR). • The address of the ISRs are in a table in memory beginning at 00h • Each entry (4B) in the table contains IP & CS of the corresponding ISR start address. Interrupt Vector Table Mem addr Vector Sys Services 70h*4 9*4 8*4 08 04 02 00 . . CS70h IP70h . . CS9 IP9 CS8 IP8 . . CS2 IP2 CS1 IP1 CS0 IP0 Vec 70h - CMOS Real Time Clock Vec 9 - PC Keyboard OR coprocessor seg overflow Vec 8 - PC Sys Timer OR interrupt table limit too small Vec 2 - NMI Vec 1 - debug Vec 0 - divide error Note: There is maximum of 256 vectors in Real Mode. Hardware Requirements for Interrupts RAM ROM INTR INT MPU INTA# reset NMI Interrupt Controller IR7 IR0 io1 ... io7 8259 Programmable Interrupt Controller (PIC) • The 8259 PIC functions as overall mgr of an interrupt system environment. • Each PIC has up to 8 interrupt request (IR) inputs • Expandable up to 64 interrupt levels via cascading in a Primary Secondary environment...
Words: 1267 - Pages: 6