Preview

Oopp Lab Work

Good Essays
Open Document
Open Document
1489 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Oopp Lab Work
CSE219 OBJECT – ORIENTED PROGRAMMING LAB Cycle Sheet – I 1. Create a class that registers your details by taking reg.no, name, age and mail id. Create a function that prevents duplicate entries of objects based on reg.no. (b) 2. Create a class account that maintains acc_no, name, and balance. Perform deposit, withdrawal and statement print operations. (statement print must print all the transactions that has taken place so for – use structures inside the class to maintain the details about transactions)(b) -----------------------------------------------------------------------------------------------------3. Create a class that holds the details of the mobile phone like brand, imei, no of sim cards, phone numbers etc.,. Allow user to login with their mobile no. Use a function that sends a message from that mobile. Maintain the details of the message as a static member inside the send message function and display each time all the messages sent from that mobile. (b) 4. Create a class ID_card that maintains the details in an ID card. Perform insert, update, delete and display operation through functions that takes input through reference parameter. (c) ----------------------------------------------------------------------------------------------------5. Create a C++ program that takes employee details like ID, first name, last name, age and address. Create a class for student {name, course, regular/parttime, address}. Use friend function to check that a student with same name and address can’t be a regular student as well as an employee. (c) 6. Synthesize a C++ program that has two classes (one for employee and one for student), have a separate class for address (with door no, street name, city, state) and reuse address both for employee and student. Perform insert, delete and display operations by taking choice of person (employee or student) from the user. Allow user to have more than one address also. (c)

You May Also Find These Documents Helpful

  • Better Essays

    orgo lab

    • 993 Words
    • 4 Pages

    The results of the experiment show a percent yield of 34.34% for the first trial (Part A), and a percent yield of 84.0% for the second trial (Part B). The methods for both trials were generally the same, so the large difference is attributed to the fact that the beaker broke before the gravity-filtering step in the first trial. The beaker was attempted to be picked up by the beaker tongs, but as the hot solution was being poured into the filter, the beaker slipped out of the beaker tongs and shattered, leaving some of the product unfiltered and thus not accounted for in the final product. Although the methods were generally similar in both steps, the gravity filtration step was skipped over in the second trial, which may have accounted for the missing 16% in trial 2, but may have also accounted for the overall relatively high percent yield for this trial. Luckily, the actual melting point of benzoic acid fit within the recorded average…

    • 993 Words
    • 4 Pages
    Better Essays
  • Satisfactory Essays

    Unit 7 Lab And Assignment

    • 311 Words
    • 2 Pages

    Complementary Metal Oxide Semiconductor, or CMOS, is a widely used type of semiconductor. CMOS semiconductors use both NMOS(negative polarity) and PMOS(positive polarity) circuits. Since only one of the circuit types is on at any given time, CMOS chips require less power than chips using just one type of transistor. This feature makes them convenient for use in battery-powered devices such as laptops. Personal computers also contain a small amount of battery-powered CMOS memory to hold the date, time, and the system setup parameters. To access the CMOS on most computers, press the delete key as the computer is booting.…

    • 311 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Orgo Post Lab

    • 600 Words
    • 3 Pages

    There are many reasons why the percent recovery is much less than 100%. For example, one source of error may have been that the separatory funnel containing the acidified phenylalanine and ethyl acetate may not have separated well enough after being shaken together in the funnel. Not allowing an adequate amount of time for the aqueous and organic layers to separate will cause portions of the layers to be contaminated. This would affect the experimental results because when the aqueous layer was drained into a separate beaker, some of the phenylalanine would also drain out too. This would result in a loss of recovered compound. One way that this was limited was by repeating the mixing and draining process two more times; however, one cannot entirely ensure that all of the compound has been removed.…

    • 600 Words
    • 3 Pages
    Powerful Essays
  • Good Essays

    Application code and comments should be written descriptively. The names of classes, methods and variables should be self-descriptive. Methods and classes will be commented to detail their…

    • 612 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    You are to use the SDLC to create a system for mobile security in your organization. The concern revolves around personnel bringing in their own devices and using them. You are tasked with coming up with a project that allows such a system. You are to determine the project requirements and scope. Follow the example in plugin B14 to get started, then chapter 9 and plugin B18 as we go through the class and continue with building on this exercise. For example, consider having the users…

    • 319 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Orgo Lab 5

    • 539 Words
    • 3 Pages

    The objective of this experiment was to carry out an elimination reaction on 2-methylalcohol with an acid to produce alkenes as a product. The product formed is separated through distillation. Because more than one alkene product can result from the reaction, Gas Chromatography is used to analyze the composition of the product mixture. IR spectrometry is also carried out to confirm the product.…

    • 539 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Ochem Lab

    • 394 Words
    • 2 Pages

    The Structure in my compound is: C8H18O2 + 2 ClO- → C8H14O2 + 2 Cl- + 2 H2O…

    • 394 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab questions

    • 297 Words
    • 2 Pages

    Appearance of penny in vinegar after 30 minutes: Pretty dark coloured. Quite hard to see…

    • 297 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1.4 Describe how to use an electronic message system to check and delete or discard messages?…

    • 1114 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    1.4 Describe how to use an electronic message system to check and delete or discard messages…

    • 416 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    A&P lab report

    • 1380 Words
    • 6 Pages

    The primary function of the heart is to transport blood throughout the body, which delivers oxygen, nutrients and chemicals to the cells of the body to ensure their survival and proper function and to remove the cellular wastes. For the body to achieve this, it must maintain a certain blood pressure within the body to overcome gravity and orthostatic changes. If the body did not keep a certain pressure, distal cells and organs would not be able to receive a constant blood supply and cause a homeostatic imbalance. This experiment will show the possible changes in blood pressure due to gravity and orthostatic changes, but first, what is blood pressure and why is it important?…

    • 1380 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Lab Questions

    • 531 Words
    • 2 Pages

    How is positive parenting different from negative parenting? Which do you think is more effective? Why?…

    • 531 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    Lab Questions

    • 395 Words
    • 1 Page

    1. What are some of the reasons why people may not talk to babies as much today as they used to?…

    • 395 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Student Odp

    • 956 Words
    • 4 Pages

    Effective hand washing is the first step in preventing cross infection and the maintaining of hand hygiene is paramount to its control (Gould et al 2008). However, hands are the preeminent route by which HCAI’s will occur (Elliot 1992). In the perioperative environment there are two types of hand washing techniques.…

    • 956 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    The evolution in technology caused by the needs especially in business demonstrates that Information System and Information Technology is essential ingredient for success of today’s enterprises. But still, some organizations and offices used the traditional or manual system in managing their information. The Don Bosco High School office, particularly the enrollment committee face tons of work in their daily activities most especially after enrollment because of failure to seek ways and means on how to simplify their task. The tasks are time consuming and sometimes end up with inaccurate reports. Thus, in this paper, the system developers aim to propose a computerized enrollment system specifically of use to the Don Bosco High School Enrollment Committee. According to the website reference.com, a computerized enrollment system is a multi-function processing operation that automatically manages and stores enrollment information. Computerization of enrollment information interrelates different yet interdependent transactions in a systematized and functional way. The use of computerized enrollment systems by organizations to help coordinate people and information is increasing throughout the world. Many experts cite numerous reasons why computerized enrollment systems are viable choices for schools, training programs and workplace operations. Computerized enrollment systems for educational services reduce processing time and human errors. Systems operations proceed faster, more efficiently and with greater accuracy than manual enrollment systems. Systems typically include data protection and backup frameworks. Student enrollees have access to their personal information exclusively. Employee workload is decreased and administrators can spend more time giving students more personalized attention and encouragement. Upon enrollment, new and transferee students will present their credentials to the enrollment…

    • 2657 Words
    • 76 Pages
    Powerful Essays

Related Topics