Limited-time offer! Save up to 50% Off | Solutions starting at \$6 each

# Engineering Help

Choose Desklib engineering assignment help for your academics and open the doors to the new era’s smart learning system. Our online library provides online engineering assignment help or solutions to question as per your requirement just you have to find what you need.

1. a) Consider a database with objects A, B, and C, and the following two transactions T₁ and T₂ involving those objects: T₁ T₂ begin_transaction begin_transaction read(A) read(A) read(B) read(B) read(C) read(C) If A = 13, B := B + B if B = 13, A := A + 1 C := C + 3 C := C + 2 write(B) write(A) write(C) write(C) Commit commit Let the initial values of A and B be 13, and the initial value of C be 10. Also let the consistency requirement be: either A = 13 or B = 13 Show the values that A, B and C would have after the (serial) execution of transaction T₁ followed by the execution of T₂. Show the values of A, B and C if the transactions were executed in the reverse order instead, that is, first T₂ was executed, and then T₁. b) Describe what Database consistency means and using the two findings in part(a) above, show that every serial execution of these two transactions T₁ and T₂ preserves the consistency of the database. (Limit your answer to 60 words) c) This question assumes the following relation schema: Employees(employeeNumber, lastName, firstName, DOB, HireDate, Position, Salary, DeptID) Primary Key: employeeNumber Foreign Key: DeptID refers to DeptID in Departments Departments(DeptID, DeptName, DeptLocation) Primary Key: DeptID Given the following expression in the Relational Algebra: employeeNumber, lastName, firstName, DeptName((Position = 'Manager' Employees) Departments) Show the corresponding SQL query.
2. A function is declared: void bazz(long A[], long B[], int n) { /* …. */ } The compiler, given -Og option, generates the following code: movl \$0, %eax .L2: cmpl %edx, %eax jge .L4 movslq %eax, %rcx movq (%rsi, %rcx, 8), %r8 addq %r8, (%rdi, %rcx, 8) addl \$1, %eax jmp .L2 .L4: ret (Note: the movslq instruction moves and sign-extends the low-order 32 bits of a register to the full 64-bit destination register.) Write the C code for the body of this function.
3. Task 2: Submission Format:  A step by step record of the development and debugging of a program from an algorithm with demonstrations of the running code.  The running (compiled/interpretable) code in executable form.  An evaluation report (500 words +/- 100) on using or not using an IDE for software Development.  An evaluation of the debugging process.  An explanation of coding standards and a critical evaluation of the necessity for their use both by individuals and teams.
5. Write the definition of an algorithm, along with a clear outline of the process of developing and building an application.
6. write a program that calculates the occupancy rate of a hotel. The program should start by asking the user how many floors the hotel has. a loop should then iterate once for each floor. In each iteration, the loop should ask the user the number of rooms on the floor and how many of them are occupied. After all the iterations, the program should display how many rooms the hotel has, how many of them are occupied, how many of them are unoccupied, and the percentage of rooms that are occupied. The percentage may be calculated by dividing the number of rooms occupied by the number of rooms. INPUT VALIDATION: do not accept a value less than 1 for the number of floors.

## Engineering Assignment Help

Click to check thousands of written solutions of engineering assignment help

The world is developing and engineering is one of the most important factors that has contributed to its development. If we see anything around us, it is a result and part of one or the other branches of engineering. The house we live in, the roads we travel on, the electricity that we use, the environment, its management, everything is a result of the significant and appreciable role that engineering plays in our life.

Online learning platforms are the best solutions to your engineering assignment queries where you can search for any topic and get all the relevant and accurate solutions and study material for your academic assistance. By availing of the services you make studying more fun and effective in terms of learning because you can refer to various documents to find the best solution to your questions and you can study from anywhere and at any time you find convenient.

Desklib is an educational platform that started with the aim to help students with their studies. By choosing Desklib’s engineering assignment help, students get access to more than two million documents and study material which students can refer to for their assignment, homework, research, dissertation, projects, etc.

The online library provided by Desklib’s includes carefully chosen best documents from across the world and it is updated and added with new study material and documents regularly.

Desklib is accessible by any student from anywhere and they can get the study material on any subject regardless of the college they are enrolled in or the course or degree they are pursuing. It provides various affordable subscription plans which students can choose from according to their budget, usage, and suitability.

Electrical Engineering

( 500+ written solutions )

Electrical engineering includes dealing with the electronic machinery and equipment which widely include gadgets, domestic electronics, technical devices and their functioning, power generators, microchips, transformers, electrical circuits and everything else that works or includes electricity.

The sub-branches of electronic engineering include power generation and transmission systems, power electronics, computer engineering, instrumentations, radio-frequency, telecommunications etc. Electrical engineers work to develop, supervise, test and design the electrical equipment and they should have an in-depth understanding of the electrical functioning, mathematics, materials and relations with other electronics.

Mechanical Engineering

( 500+ written solutions )

Mechanical engineering, one of the oldest branches of engineering, is the combination of engineering physics, material science, and mathematics where the engineers conceptualize, develop, design, test, and manufacture mechanical equipment.

It is a very wide branch of engineering and requires an understanding of mathematics, mechanics, dynamics, thermodynamics, electricity, structural analysis, etc. From the functioning of your car, working of your clock, all the movement enabling equipment is part of mechanical engineering. Mechanical engineering is important as it makes it easy for us to do our daily work.

Materials Science Engineering

Material science engineering includes designing and discovering new solid materials. The field requires analytical thinkers with knowledge about engineering, metallurgy, mineralogy, chemistry and material. Material science and engineering studies the history of any material, its formations, and change in structure through time, what are its properties and where can it be used. The field includes materials like Metals, polymers, ceramics, composites and is applied in nanotechnology, electronics, energy, constructions, biotechnology etc. This field has proven to bring more prosperity and growth in the world by the discovery of new materials that produce better technologies and materials making our lives easier.

Civil Engineering