Object-Oriented Programming Using C++ Lab
50 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the course code for the subject "Object Oriented Programming Using C++ Lab"?

UGCC-102 A

How many credits are awarded for the course "Object Oriented Programming Using C++ Lab"?

2

What are the total contact hours for the "Object Oriented Programming Using C++ Lab" course?

4

Which of the following are object-oriented programming features discussed in depth in the "Object Oriented Programming Using C++ Lab" course? (Select all that apply)

<p>Polymorphism (A), Encapsulation (B), Abstraction (C), Inheritance (D)</p> Signup and view all the answers

What are the three learning outcomes of the "Object Oriented Programming Using C++ Lab" course? (Select all that apply)

<p>Design and implement object-oriented concepts of inheritance and polymorphism. (A), Illustrate and implement STL class of containers and need for exceptions to handle errors for object-oriented programs (B), Develop classes incorporating object-oriented techniques. (D)</p> Signup and view all the answers

What is the name of the programming language used in the "Object Oriented Programming Using C++ Lab" course?

<p>C++</p> Signup and view all the answers

What is the name of the school that offers the "Object Oriented Programming Using C++ Lab" course?

<p>USET</p> Signup and view all the answers

The "Object Oriented Programming Using C++ Lab" course primarily focuses on basic C++ constructs, not object-oriented programming features.

<p>False (B)</p> Signup and view all the answers

What is the first task in the "Object Oriented Programming Using C++ Lab" course outline?

<p>Implementation of various programs to understand usage of data types and operators in C++. (C)</p> Signup and view all the answers

What is the second task in the "Object Oriented Programming Using C++ Lab" course outline? (Select all that apply)

<p>Write a program to understand insertion and traversal in one-Dimensional Arrays in C++. (C), Implementation of various programs to understand decision control and Looping control constructs. (D)</p> Signup and view all the answers

What is the seventh task in the "Object Oriented Programming Using C++ Lab" course outline?

<p>Write a program to demonstrate single inheritance. (A)</p> Signup and view all the answers

What is the thirteenth task in the "Object Oriented Programming Using C++ Lab" course outline?

<p>Implement various programs to perform basic file operations. (C)</p> Signup and view all the answers

What is the total marks for the "Object Oriented Programming Using C++ Lab" course evaluation?

<p>50</p> Signup and view all the answers

How many marks are allocated for internal assessment in the "Object Oriented Programming Using C++ Lab" course evaluation?

<p>30</p> Signup and view all the answers

How many marks are allocated for attendance in the "Object Oriented Programming Using C++ Lab" course evaluation?

<p>10</p> Signup and view all the answers

How many marks are allocated for performance in the "Object Oriented Programming Using C++ Lab" course evaluation?

<p>10</p> Signup and view all the answers

How many marks are allocated for viva in the "Object Oriented Programming Using C++ Lab" course evaluation?

<p>10</p> Signup and view all the answers

What is the course code for the subject "English Communication Skills-I"?

<p>UGEC - 201</p> Signup and view all the answers

What is the name of the school that offers the "English Communication Skills-I" course?

<p>USET</p> Signup and view all the answers

What is the department offering the "English Communication Skills-I" course?

<p>Common for all B.Tech Branches</p> Signup and view all the answers

How many credits are awarded for the course "English Communication Skills-I"?

<p>3</p> Signup and view all the answers

What is the total contact hours for the "English Communication Skills-I" course?

<p>3</p> Signup and view all the answers

What are the learning objectives for the course "English Communication Skills-I"? (Select all that apply)

<p>Enrich their reading capability with special emphasis on expanding vocabulary and grammatical formations. (A), Augment students' overall communication and interpersonal skills by making them realize the importance of good oral and written English Language in professional life. (B), Build exceptional speaking, reading and writing skills by correcting grammatical errors and pronunciation through practice. (C), Enhances soft skills by fostering self-awareness, confidence and a positive attitude in students' ability to communicate effectively in English. (D)</p> Signup and view all the answers

What are the learning outcomes for the course "English Communication Skills-I"? (Select all that apply)

<p>Apply correct contextual and comprehensible written text and speech in a wide range of communication situations. (A), Apply non-verbal and soft skills effectively to attain expertise in Listening, Speaking, Reading and Writing Skills (LSRW Skills). (B), Evaluate information as critical readers, speakers and writers applying ethics in communication and being sensitive in cross cultural communication. (C), Demonstrate linguistic competence while speaking and writing through accuracy in grammar, intonation, pronunciation and vocabulary. (D)</p> Signup and view all the answers

What is the name of the unit in the "English Communication Skills-I" course outline that covers grammar?

<p>Unit - A</p> Signup and view all the answers

What are the parts of speech covered in Unit - A of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Verb (A), Adjective (B), Conjunction (C), Pronoun (D), Adverb (E), Noun (F), Interjection (G)</p> Signup and view all the answers

What are the tenses discussed in Unit - A of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Past perfect (A), Simple present (B), Simple Future (C), Present continuous (D), Simple past (E), Future continuous (F), Present perfect (G), Future perfect (H), Past continuous (I)</p> Signup and view all the answers

What is the name of the unit in the "English Communication Skills-I" course outline that covers communication?

<p>Unit - B</p> Signup and view all the answers

What are the perspectives of communication discussed in Unit - B of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Prejudices (A), Environment (B), Visual Perception (C), Meaning (D), Feelings (E), Past Experiences (F), Language (G)</p> Signup and view all the answers

What are the types of communication discussed in Unit - B of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Verbal (A), Non-verbal (C)</p> Signup and view all the answers

What aspects of verbal communication are discussed in Unit - B of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Voice modulation (A), Non-professional communication (B), Speaking clearly (C), Professional communication (D)</p> Signup and view all the answers

What are the aspects of non-verbal communication discussed in Unit - B of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Distance and positioning (A), Studying body language (B), The communication body (C), Body orientation (D)</p> Signup and view all the answers

What is the name of the unit in the "English Communication Skills-I" course outline that covers writing?

<p>Unit - C</p> Signup and view all the answers

What aspects of essay writing are discussed in Unit - C of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Describing (A), Body paragraphs (B), Providing examples or evidence (C), Defining (D), Conclusion (E), Introduction (F), Classifying (G)</p> Signup and view all the answers

What are the types of paragraph writing discussed in Unit - C of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Précis (A), Summary (B)</p> Signup and view all the answers

What are the types of letters discussed in Unit - C of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Formal (A), Informal (B)</p> Signup and view all the answers

What are the topics covered in the "Emails" section of Unit - C in the "English Communication Skills-I" course outline? (Select all that apply)

<p>Goodwill (A), Complaints (B), Enquiries (C), Appraisal (D)</p> Signup and view all the answers

What is the name of the unit in the "English Communication Skills-I" course outline that covers reading and listening?

<p>Unit - D</p> Signup and view all the answers

What are the aspects of basic listening skills discussed in Unit - D of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Introduction (A), Process of listening (B), Types of listing (C), Becoming an active listener (D), Qualities of a good listener (E), Barriers to listening (F), Self-awareness (G), Difference between active and passive listening (H), Hearing Vs. Listening (I)</p> Signup and view all the answers

What are the techniques of reading discussed in Unit - D of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Scanning (A), Intensive reading (B), Extensive reading (C), Skimming (D)</p> Signup and view all the answers

What is the name of the unit in the "English Communication Skills-I" course outline that covers building advanced vocabulary?

<p>Unit - E</p> Signup and view all the answers

What are the aspects of building advanced vocabulary discussed in Unit - E of the "English Communication Skills-I" course outline? (Select all that apply)

<p>Synonyms and antonyms (A), Phrases and idioms (B), Words often confused (C), Learning words through situations from the text from assigned Text (Book)Communication skills by Sanjay Kumar and Pushp Lata (D)</p> Signup and view all the answers

What is the total marks for the "English Communication Skills-I" course evaluation?

<p>100</p> Signup and view all the answers

How many marks are allocated for internal assessment in the "English Communication Skills-I" course evaluation?

<p>50</p> Signup and view all the answers

How many marks are allocated for attendance in the "English Communication Skills-I" course evaluation?

<p>10</p> Signup and view all the answers

How many marks are allocated for assignments in the "English Communication Skills-I" course evaluation?

<p>5</p> Signup and view all the answers

How many marks are allocated for quiz in the "English Communication Skills-I" course evaluation?

<p>5</p> Signup and view all the answers

How many marks are allocated for presentation/report in the "English Communication Skills-I" course evaluation?

<p>5</p> Signup and view all the answers

What are the learning objectives for the "English Communication skills-I Lab" course? (Select all that apply)

<p>Establish a strong foundation of appropriate behavior and attitude (A), Development of critical thinking skills. (B), Improved writing, reading, listening and speaking skills (C), Works on personal interactions. (D)</p> Signup and view all the answers

What are the learning outcomes for the "English Communication skills-I Lab" course? (Select all that apply)

<p>Overcome stage fright (A), Enrich their reading capability with special emphasis on expanding vocabulary and grammatical formations. (B), Well acquainted with social etiquettes (C), Active listening (details and themes). (D), Inculcate critical reading skills (E)</p> Signup and view all the answers

Flashcards

What is OOP?

Object-Oriented Programming (OOP) is a programming paradigm that uses objects and classes to structure code. It emphasizes modularity, encapsulation, inheritance, and polymorphism, leading to more organized and reusable code.

What is Encapsulation in OOP?

Encapsulation hides data and methods within classes, making them accessible only through controlled interfaces. It promotes data security and reduces code complexity.

What is Abstraction in OOP?

Abstraction simplifies complex functionality by exposing only essential details while hiding the underlying implementation. It allows for code reuse and flexibility.

What is Inheritance in OOP?

Inheritance allows creating new classes (child classes) that inherit properties and methods from existing classes (parent classes). This promotes code reusability and allows for a hierarchical structure.

Signup and view all the flashcards

What is Polymorphism in OOP?

Polymorphism enables objects to respond to the same message in different ways, depending on their type. It allows for code flexibility and dynamic behaviour.

Signup and view all the flashcards

What are Classes and Objects in OOP?

Classes act as blueprints for creating objects, defining their properties (data members) and functionalities (member functions). Objects are instances of classes.

Signup and view all the flashcards

What are Constructors in OOP?

Constructors are special member functions that initialize objects when they are created. They ensure objects are given a valid starting state.

Signup and view all the flashcards

What are Destructors in OOP?

Destructors are member functions called automatically when an object goes out of scope. They deallocate resources and perform cleanup operations.

Signup and view all the flashcards

What is Function Overloading in OOP?

Function overloading permits defining multiple functions with the same name but different parameter lists. This allows for code reuse and flexibility.

Signup and view all the flashcards

What is Operator Overloading in OOP?

Operator Overloading allows defining custom behaviour for operators like +, -, *, etc., for user-defined classes. It enables more intuitive and readable code.

Signup and view all the flashcards

What is Call by Value in Functions?

Call by value copies the value of an argument to a function parameter. Changes in the parameter don't affect the original argument.

Signup and view all the flashcards

What is Call by Reference in Functions?

Call by reference passes the address of an argument to a function parameter. Changes in the parameter directly modify the original argument.

Signup and view all the flashcards

What are Virtual Functions in OOP?

Virtual functions, declared with virtual keyword, enable polymorphism by allowing child classes to override their implementations. They are essential for runtime polymorphism.

Signup and view all the flashcards

What is Runtime Polymorphism in OOP?

Runtime polymorphism, also called dynamic dispatch, is a feature where the function to be invoked is decided at runtime based on the actual type of the object.

Signup and view all the flashcards

What is Exception Handling in OOP?

Exception handling is a mechanism to manage runtime errors gracefully. try, catch, and throw keywords help in catching and handling exceptions.

Signup and view all the flashcards

What is the STL in C++?

The Standard Template Library (STL) provides a suite of generic containers, algorithms, and iterators that promote efficient and reusable code for data management.

Signup and view all the flashcards

What is a Constructor in C++?

A constructor is a special member function that initializes an object of a class. It's called automatically when an object is created. It's used to ensure objects are correctly initialized and have valid starting values.

Signup and view all the flashcards

What is a Destructor in C++?

A destructor is a special member function that's called automatically when an object goes out of scope. It's used to deallocate resources, close connections, or perform cleanup operations for an object.

Signup and view all the flashcards

What is Data Abstraction in C++?

Data Abstraction in C++ refers to hiding the internal implementation details of a class and exposing only essential features to the outside world. It reduces complexity and promotes code reusability.

Signup and view all the flashcards

What is Inheritance in C++?

Inheritance in C++ allows creating new classes (derived classes) that inherit properties and methods from existing classes (base classes). It promotes code reuse and hierarchical structure.

Signup and view all the flashcards

What is Polymorphism in C++?

Polymorphism in C++ is the ability of an object to take on multiple forms. It allows objects to respond to the same message (function call) in different ways depending on their type.

Signup and view all the flashcards

What is Call by Value in C++?

Call by Value passes a copy of the argument's value to a function parameter. Changes made to the parameter within the function don't affect the original argument.

Signup and view all the flashcards

What is Call by Reference in C++?

Call by Reference passes the address of the argument to a function parameter. Changes made to the parameter within the function directly modify the original argument.

Signup and view all the flashcards

What is an Inline Function in C++?

An Inline Function is declared with the inline keyword. The compiler replaces each call to the function with the function's code itself. This can improve performance by reducing overhead.

Signup and view all the flashcards

What is a Friend Function in C++?

A friend function in C++ is a function that has access to the private and protected members of a class, even though it's not a member function of that class. It's declared using the friend keyword within the class.

Signup and view all the flashcards

What is a Virtual Function in C++?

A virtual function in C++ is declared with the virtual keyword. It allows child classes to override its implementation, providing runtime polymorphism. It's essential for dynamic dispatch.

Signup and view all the flashcards

What is a Pure Virtual Function in C++?

A pure virtual function in C++ is declared using the = 0 syntax. A class containing pure virtual functions is abstract, meaning it cannot be instantiated directly. It exists as a base class for other classes to implement.

Signup and view all the flashcards

What is an Abstract Class in C++?

An abstract class is a class that contains at least one pure virtual function. It serves as a blueprint for other classes that must provide concrete implementations for the pure virtual functions.

Signup and view all the flashcards

What is an Exception in C++?

An exception is an event that disrupts the normal flow of program execution. Exceptions are handled using try, catch, and throw keywords to prevent program termination.

Signup and view all the flashcards

What is Exception Handling in C++?

Exception handling is a mechanism to intercept and handle runtime errors gracefully. It allows programs to continue executing even when errors occur, preventing program crashes or unexpected behaviour.

Signup and view all the flashcards

What is a Template in C++?

A template in C++ is a powerful mechanism for creating reusable code that works with different data types. Templates allow you to write generic code that can be adapted to handle various data types.

Signup and view all the flashcards

What is a Namespace in C++?

A namespace in C++ is a mechanism for organizing code into logical groups. It helps prevent name collisions between identifiers in different parts of a program.

Signup and view all the flashcards

What is Input/Output (I/O) in C++?

Input/Output (I/O) in C++ refers to operations that allow your program to interact with the outside world, including reading data from and writing data to files, the console, or other devices.

Signup and view all the flashcards

Study Notes

Object-Oriented Programming Using C++

  • Course Code: UGCC-102 A
  • Course Title: Object Oriented Programming Using C++ (Lab)
  • Credits: 2
  • Contact Hours: 0-0-4 (L-T-P)
  • Course Objectives: Develop structured and object-oriented programming skills using C++. Covers basic C++ constructs and object-oriented features like encapsulation, abstraction, inheritance, and polymorphism.
  • Course Outcomes: Students will develop classes using object-oriented techniques, implement inheritance and polymorphism, and illustrate object-oriented programs with exception handling.

Outline Syllabus

  • Task 1: Implement programs to understand data types and operators.
  • Task 2: Implement programs for decision control and looping. Implement programs for insertion and traversal in one-dimensional arrays.
  • Task 3: Implement programs to understand function declaration, calling, and definition.
  • Task 4: Implement programs to create classes and objects.
  • Task 5: Write programs demonstrating default, parameterised, and copy constructors.
  • Task 6: Write programs demonstrating binary operator overloading.
  • Task 7: Write a program to demonstrate single inheritance.
  • Task 8: Write programs to demonstrate multiple inheritance.
  • Task 9: Implement function overloading.
  • Task 10: Implement programs to differentiate between call by value and call by reference.
  • Task 11: Implement virtual functions and understand runtime behavior.
  • Task 12: Implement a program understanding exception handling.
  • Task 13: Implement basic file operations.

English Communication Skills-I (Theory)

  • Course Code: UGCC-201
  • Credits: 3
  • Contact Hours: 3-0-0 (L-T-P)
  • Course Objectives: Develop communication and interpersonal skills; and enhance reading, speaking, and writing skills. Improve vocabulary and grammatical formations, and critical thinking skills.
  • Course Outcomes: Develop good oral and written English language proficiency; improve reading comprehension. Achieve proficiency in communication. Demonstrate appropriate behavior; Enhance critical thinking skills.
  • Outline Syllabus:
    • Unit A (Grammar): Parts of speech; tenses; use of articles; basic sentence formation.
    • Unit B (Communication): Introduction, perspectives of communication; types (verbal/non-verbal); non-verbal communication.
    • Unit C (Writing): Essay writing; body paragraphs; describing, defining; paragraph writing; précis, summary; writing formal and informal letters.
    • Unit D (Reading & Listening): Basic listening and reading skills, barriers to listening/reading, active listening, techniques of reading (skimming, scanning, intensive reading).
    • Unit E (Building Advanced Vocabulary): Vocabulary development; idiom and phrase learning; words often confused.

English Communication Skills-I (Lab)

  • Course Code: UGCC-202
  • Credits: 1
  • Contact Hours: 0-0-2 (L-T-P)
  • Course Objectives: Establish positive behavior and attitude; personal interactions; critical thinking; improved writing, reading, speaking, and listening skills.
  • Course Outcomes: Students will become familiar with social etiquettes, active listening, vocabulary and grammatical skills, overcome stage fright, improve critical reading.
  • Outline Syllabus: (includes establishment of appropriate behavior and attitude, personal interactions, development of critical thinking, improved writing, reading, listening and speaking skills, overcoming stage fright, enrichment of vocabulary and grammatical skills; active listening and critical reading skills)

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

Description

This quiz assesses your understanding of object-oriented programming principles using C++, including encapsulation, inheritance, and polymorphism. You will solve problems related to data types, control structures, and class implementation. Sharpen your skills and demonstrate your ability to create robust C++ programs.

More Like This

Use Quizgecko on...
Browser
Browser