Saturday, January 25, 2020

Features of C++ in programming

Features of C++ in programming Ans1. Unique features of C++ : Encapsulation: It is the process of combining data and functions into a single unit called class. Using the method of encapsulation, the programmer cannot directly access the data rather data is accessible through the functions present inside the class. It led to the important concept of data hiding. Abstraction: It is one of the most powerful and vital features provided by object-oriented C++ programming language. The main idea behind data abstraction is to give a clear separation between properties of datatype and the associated implementation details. Polymorphism: It is the ability to use an operator or function in different ways. Poly, referring to many uses of these operators and functions. A single function usage or an operator functioning in many ways can be called polymorphism. Inheritance: It is the process by which new classes called derived classes are created from existing classes called base classes. The derived classes have all the features of the base class and the programmer can choose to add new features specific to the newly created derived classes. C++ better than C: Stronger typing: the type system in C++ is stronger than in C. This prevents many common programming errors coupled with the next very important feature, the stronger type system even manages not be an inconvenience. A Bigger standard library: C++ allows the full use of the standard library. It includes the Standard Template Library. Parameterized types: the template keyword allows the programmer to write generic implementations of algorithms. Data and methods to edit the data act as one entity i.e. by the usage of classes. Limiting scope of data i.e. by using private/public variables. Constructors and destructors for defining default behaviour of entities. Ques2. Demonstrate the use of Inline Functions and Function Overloading. Ans2. An Inline function is a function that is expanded in line when it is invoked. This kind of function is used to save the memory space which becomes appreciable when a function is likely to be called a number of times. It is used to eliminate the cost of calls to small functions. Normally, a function call transfers the control from the calling program to the function and after the execution of the program returns the control back to the calling program after the function call but in inline function, when the program is compiled, the code present in the function body is replaced in place of the function call. Syntax: inline datatype function_name(arguments) { function body } Example: #include #include inline float mul(float x, float y) { return (x*y); } inline double div(double p, double q) { return (p/q); } int main() { clrscr(); float a= 12.345; float b= 9.82; cout

Friday, January 17, 2020

Cyber Law Essay

Need And Importance Of Cyber Law — Presentation Transcript 1. Why cyber law Information technology is encompassing all walks of life all over the world 2. â€Å" IT† has brought Transition from paper to paperless world 3. However!!!!There is a need to regulate the Cyber Space Cyber space creates moral, civil and criminal wrongs. It has now given a new way to express criminal tendencies Crime is no longer limited to space, time or a group of people. Due to the anonymous nature of the Internet, it is possible to engage into a variety of criminal activities with impunity and people with intelligence, have been grossly misusing this aspect of the Internet to perpetuate criminal activities in cyberspace.. Hence the need of cyber laws 4. Secondly!!!! Nobody then could really visualize about the Internet Initial laws of 1990’s were developed and enacted way back keeping in mind the relevant political, social, economic, and cultural scenario of that relevant time As such, the coming of the Internet led to the emergence of numerous ticklish legal issues and problems which necessitated the enactment of Cyber laws. 5. Thirdly!!!!! The laws of real world cannot be interpreted in the light of emerging cyberspace to include all aspects relating to different activities in cyberspace Thus the need for enactment of relevant cyber laws 6. Forthly!!!! Internet requires an enabling and supportive legal infrastructure in tune with the times Only with the relevant cyber laws in place this legal supportive infrastructure can be provided E-commerce, the biggest future of Internet, can only be possible   if we have the required legal infrastructure in place to compliment its growth 7. Importance of Cyber Law!!! In today’s highly digitalized world, almost everyone is affected by cyber law. Almost all companies extensively depend upon their computer networks and keep their valuable data in electronic form. Government forms including income tax returns, company law forms etc are now filled in electronic form. Consumers are increasingly using credit cards for shopping. Most people are using email, cell phones and SMS messages for communication. Even in "non-cyber crime" cases, important evidence is found in computers / cell phones e.g. in cases of divorce, murder, kidnapping, tax evasion, organized crime, terrorist operations, counterfeit currency etc. Cyber crime cases such as online banking frauds, online share trading fraud, source code theft, credit card fraud, tax evasion, virus attacks, cyber sabotage, phishing attacks, email hijacking, denial of service, hacking, pornography etc are becoming common. Digital signatures and e-contracts are fast replacing conventional methods of transacting business. Since  it touches almost all aspects of transactions and activities concerning the Internet, the World Wide Web and Cyberspace

Thursday, January 9, 2020

My Observations of Classrooms - 2634 Words

Description of Class Setting I was given permission to conduct my child study project in PAP community Foundation (Bukit Batok East Education Centre) by Miss Denise Lim, principal of the centre. The teacher present at all my observation sessions was Miss Moriah. All the observation sessions were conducted in a classroom setting in the Hibiscus room. The first two observation sessions were at least an hour long with 15-20 minutes of frontal teaching and another 40 to 45 minutes of classwork in their group tables. The last session was carried out in the same setting but at a different timing with half an hour of snack time and half an hour of emotional awareness session. The frontal teaching part was carried out with the students seated in their groups on the floor facing the teacher and the whiteboard. Students were assigned to carry out their classwork at three different group coloured tables namely, red, yellow and blue. Description of class The class consists of 15 to 16 Kindergarten two students. All of them are 5 to 6 year olds. 5 of the students are Indians, 5 are Chinese, 3 are Malay students. and 2 are Filipinos nationals. Background of child The child was selected and issued the parent’s consent form the day before session 1. Before the class started, I spoke to the teacher, Miss Moriah privately and learnt more about the background of Jiang Rui Zhi, the child under study. He is a 6-year-old boy who has migrated from China to Singapore to study at the age ofShow MoreRelatedMy Observations On The Classroom848 Words   |  4 PagesDuring my observations hours for Exceptional Learners course I observed two 4th grade classes that had special education students placed in a general education class room setting. I also observed the Inclusion teacher pull out SPED students and teach in a resource room conduction content mastery. My observations were mainly based on the SPED student but I interacted with all the students in the classroom. During this time I observed great interaction with students from the SPED teacher MRS.R whileRead MoreMy Observation At A Elementary Classroom1802 Words   |  8 PagesDuring my observa tion time in a kindergarten classroom, I have noticed that the students have a wide variety of abilities, attention spans, interests, and love for learning. When it comes to the teacher’s instructional strategies, she intentionally takes into consideration all of the above characteristics to make sure each student gets what they need to be most successful. During lessons students are engaged because of the teacher’s ability to implement interests of the student’s into things andRead MoreMy First Observation On The Classroom Arrangement2246 Words   |  9 PagesIntroduction My second observation was completed at Arts Based Elementary where I observed Alysha Christian and her third grade class. During my observation I saw a lot of techniques that I know are important to help kids with literacy like: a read aloud, a reading section filled with books, and a great teacher. Mrs. Christian. There topic that day was plants and Mrs. Christian did a read aloud, Mrs. Maple’s Seeds, that helped the students learn more about seeds then they watched a video that alsoRead MoreMy Observation Of A Elementary School Classroom1783 Words   |  8 PagesElementary school classrooms should be vibrant, inviting, and interactive. My first observation was in a second-grade classroom, followed by an observation in a third-grade classroom. I observed classrooms at East Haddam Elementary School from 9:00 a.m. – 1:00 a.m. on the 12th of October. I spent two hours in each classroom. There were seventeen students in the second-grade classroom, eight boys and nine girls, and one teacher, Mrs. Caron. In the third-grade classroom, there were eighteen studentsRead MoreKansas Education Statistics and my Student Observation of a First Grade Classroom2344 Words   |  10 PagesAYP report card states that in reading the students of Haysville are slightly above the state average overall. Even 78% of Haysville disabled children are meeting or exceeding our state guidelines. The Elementary School where I am doing my teaching observation, building report card closely resembles the district level statistics. Students are equally divided between genders and the racial divide is about the same as the district with 86% of the students being white. The school is split almost equallyRead MoreMy Observation This Semester Is A Self Contained Classroom For Students With Emotional And Behavioral Disorders910 Words   |  4 PagesMy observation this semester is in a self-contained classroom for students with emotional and behavioral disorders. The class is taught by one special education teacher who is assisted by a teaching aide. The desks are spaced out from one another, allowing each student a lot of room to move around. I believe the desks are arranged this way so that the students have limited contact with one another. There are books and games on a shelf that the students are allowed to use during break time. ThereRead MoreQuestions On Behavior And Behavi or889 Words   |  4 Pagesunderstand why misbehavior occurs in the classroom. Through relevant research and in class observations, this study will conclude how teachers can positively guide the class to avoid reoccurrence of misbehaviors. Understanding why the misbehavior is occurring will help avoid the situation for future occurrence. Research that is mentioned this study covers different aspects of misbehaviors including different theorists and beliefs to why misbehavior occurs in the classroom. The purpose of this study is alsoRead MoreLearning Styles And Techniques Of Teaching898 Words   |  4 PagesDuring my class in Curriculum, Methods, and Assessments: Science and Math, I have had the opportunity to observe two different mathematic teachers. Through those observations I have gained great knowledge and understanding. I was exposed to different teaching, learning styles and techniques. Being able to observe a few different classrooms has given me an opportunity to witne ss different aspects of teaching. Through all of my observations during college of teachers I am confident that teachingRead MoreCollege Students Do Not Enjoy Writing892 Words   |  4 Pagesstudy before pursuing it. I am familiar with this problem. I began my college journey as a pre-Business Administration student. I had no idea what types of writing were involved in my major. I thought that I’d only be writing for my English and General Education(GE) courses. I did and do enjoy writing, so I never thought of writing as a chore. As I complete my major’s pre-requisite courses, I thought of the role of writing in my field of study, which is Business Administration with a concentrationRead MoreGraduation Speech : Cultural Diversity1316 Words   |  6 Pagesout wanting to explore how books could be used to address diversity in the classroom in terms of the students’ cultural backgrounds. After spending time in my classroom, I came to the realization that invest igating this question would be a challenge, due to the fact that I was only able to observe a handful of situations where students interacted with books, much less books that included aspects of culture. In my classroom, books that incorporated the various traditions and cultures around the world

Wednesday, January 1, 2020

Assassination Attempt on Franklin D. Roosevelt

Statistically, being the president of the United States is one of the most dangerous jobs in the world, since four have been assassinated (Abraham Lincoln, James Garfield, William McKinley, and John F. Kennedy). In addition to the presidents that have actually been killed while in office, there have been a myriad of unsuccessful attempts to kill U.S. presidents. One of these happened on February 15, 1933, when  Giuseppe Zangara tried to kill President-elect Franklin D. Roosevelt in Miami, Florida. The Assassination Attempt On February 15, 1933, just over two  weeks before Franklin D. Roosevelt was inaugurated as President of the United States, FDR arrived at the Bayfront Park in Miami, Florida around 9 p.m. to give a speech from the back seat of his light-blue Buick. Around 9:35 p.m., FDR finished his speech and had begun talking to some supporters who had gathered around his car when when five shots rang out. Giuseppe Joe Zangara, an Italian immigrant and unemployed bricklayer, had emptied his .32 caliber pistol at FDR. Shooting from about 25 feet away, Zangara was close enough kill FDR. However, since Zangara was only 51, he couldnt see FDR without climbing up on a wobbly chair in order to see over the crowd. Also, a woman named Lillian Cross, who stood near Zangara in the crowd, claimed to have hit Zangaras hand during the shooting. Whether it was because of bad aim, the wobbly chair, or Mrs. Crosss intervention, all five bullets missed FDR. The bullets, however, did hit bystanders. Four received minor injuries, while Chicagos Mayor Anton Cermak was mortally hit in the stomach. FDR Appears Brave During the whole ordeal, FDR appeared calm, brave, and decisive. While FDRs driver wanted to immediately rush the president-elect to safety, FDR ordered the car to stop and pick up the wounded. On their way to the hospital, FDR cradled Cermaks head on his shoulder, offering calming and comforting words which doctors later reported kept Cermak from going into shock. FDR spent several hours at the hospital, visiting each of the wounded. He came back the following day to check on the patients again. At a time when the United States desperately needed a strong leader, the untested president-elect proved himself strong and reliable in the face of crisis. Newspapers reported on both FDRs actions and demeanor, putting faith in FDR before he even stepped into the presidential office. Why Did Zangara Do It? Joe Zangara was caught immediately and taken into custody. In an interview with officials after the shooting, Zangara stated that he wanted to kill FDR because he blamed FDR and all rich people and capitalists for his chronic stomach pain. At first, a judge sentenced Zangara to 80 years in prison after Zangara pleaded guilty, saying, I kill capitalists because they kill me, stomach like drunk man. No point living. Give me electric chair.* However,  when Cermak died of his wounds on March 6, 1933 (19 days after the shooting and two days after FDRs inauguration), Zangara was charged with first-degree murder and sentenced to death. On March 20, 1933, Zangara strode to  the electric chair  unaided and then plunked himself down. His last words were Pusha da button! *Joe Zangara as quoted in Florence King, A Date Which Should Live in Irony,  The American Spectator  February 1999: 71-72.