Preview

bca qstn

Good Essays
Open Document
Open Document
1776 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
bca qstn
Model Question Paper
Subject Code: BC0037

Subject Name: Object Oriented Programming Using C++
Credits: 4

Marks: 140

Part A (One mark questions)
1. High level languages like C, Fortran are also known as --------------- .
a. procedural languages
b. Object oriented language
c. form based language
d.both a and b

2. one of the basic concept in Object Oriented Programming approach is bundling both data and functions into one unit known as ------------.
a. Simple varriable
b. object
c. bundle
d.both a and b

3. which of the following shows the Operator overloading feature in C++
a. Polymorphism
b. inheritance
c. message passing
d. both a and b

4. One of the alternative to nested if is the ------------a. break statement
b. Jump statement
c. switch statement
d. both a and b

5. In switch case statement , every case should have a ------------ statement as the last statement a. Jump
b. break
c. exit
d. both a and b

6. Conditional operator (?:) is a handy operator which acts like a shortcut for ---------a. if else statement
b. switch statement
c. break statement
d. goto statement

7. Arrays are----------- data types .
a. Premitive
b. Non-primitive
c. user defined
d. both b and c

8. In two dimentional arrays, elements can be accessed by ----------- indexes.
a. One
b. four
c. three
d. two

9. Strings are nothing but ----------- arrays
a. character
b. integer
c. floating point
d. both c and b

10. If there is no value returned by the function, then function return type should be specified as----------a. void
b. Function name only
c. int
d. float

11. Every user-defined function should be declared in the program -------------.
a. after it is used
b. before it is used
c. at the time of its invocation
d. both a and b

12. More than one user defined functions can have same name and perform different operations. This is a powerful feature of C++ and is known as -------------a. inheritance
b.operator

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Bcom275 Week 1

    • 443 Words
    • 2 Pages

    What was the message?The message was the job description for the job I was applying for.…

    • 443 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Nt1330 Unit 4

    • 920 Words
    • 4 Pages

    4. Which of the following comparisons does a switch make when deciding whether a new…

    • 920 Words
    • 4 Pages
    Good Essays
  • Good Essays

    It/210 Final Exam

    • 1235 Words
    • 5 Pages

    4. The calculation should be executed only after all the valid input values are provided.…

    • 1235 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Is505 Final

    • 1919 Words
    • 8 Pages

    4. (TCO D) Which of the following is not an example of a logical operator? (Points : 5)…

    • 1919 Words
    • 8 Pages
    Powerful Essays
  • Satisfactory Essays

    BUSN150 Final Exam

    • 2169 Words
    • 9 Pages

    1. Which of the following theories has been contended to be most effective when dealing with issues on downsizing within an organization?…

    • 2169 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Bba Unit 2

    • 470 Words
    • 2 Pages

    Share your thoughts on sustainability. How important is it for sustainable business practices to take hold in order for a business to succeed in today’s business environment? For example, does a green company impact your choice when purchasing products?…

    • 470 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Bcor 2500 - Exercise One

    • 660 Words
    • 3 Pages

    Business Objectives: Wal-Mart recognized that there was potential to reduce expenses and increase revenues if the company could develop a means to increase the efficiency of its supply chain and reduce employee costs related to employee theft and overall productivity. The company estimated that by increasing supply chain efficiency and minimizing stock-outs, the company could increase revenues by approximately $600 million annually. Moreover, Wal-Mart estimated that increasing overall employee efficiency could save up to $6.7 billion annually. Finally, the company recognized that approximately $575 million in expenses could be saved if they could eliminate the issue of employee theft. Wal-Mart was willing to make a long-term investment in a solution that could achieve these figures, as it is one of the few retailers in its industry that can afford to make substantial investments into the future and the potential benefits would far out way the costs in the long run. Wal-Mart estimated that in order to accomplish these objectives it would take a substantial investment over the next 5 to 10 years, as new technologies would have to be developed and pushed down to suppliers.…

    • 660 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Bca Cs-63

    • 1608 Words
    • 7 Pages

    There are seven questions in this Assignment. Answer all the questions. You may use illustrations and diagrams to enhance explanation.…

    • 1608 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    Vba Bond Function

    • 777 Words
    • 4 Pages

    End Function ‘ *********************************************************** Notice I have created these functions with a return value. Each function returns the value zero. It is a test value. This way if you were using them in a more complex environment you could add them to your…

    • 777 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    On the order hand, Object oriented programming (OOP) have taken the best ideas of structured programming and combined them with several powerful new concept that encourage you to approach the task of programming in a new way. Object-oriented programming is a programming methodology that associates data structures with a set of operators that act upon it. In OOP’s terminology an instance of such an entity is known as an object, it gives importance to relationships between objects rather than implementation details. Object-Oriented Programming is centered on new concepts such as classes, polymorphism, inheritance, etc.…

    • 641 Words
    • 3 Pages
    Satisfactory Essays
  • Better Essays

    Object-oriented programming (OOP) is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction, encapsulation, messaging, modularity, polymorphism, and inheritance. Many modern programming languages now support OOP. OOP was developed to increase the reusability and maintainability of source code.…

    • 624 Words
    • 3 Pages
    Better Essays
  • Good Essays

    C++ Lab Session

    • 868 Words
    • 4 Pages

    Given the following classes, write the implementation codes and the driver program to demonstrate inheritance using C++. You may add other appropriate member functions and / or data members.…

    • 868 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Postfix Notation

    • 779 Words
    • 4 Pages

    In postfix notation which is also called Reverse Polish Notation (RPN) the operator follows the two operands, for example…

    • 779 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    BBA Sylabus

    • 3853 Words
    • 19 Pages

    4. Elements of Insurance: - Meaning and Causes of Business Risks, Insurance of Business Risks.…

    • 3853 Words
    • 19 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Bca Notes

    • 570 Words
    • 3 Pages

    —> r=3i-5fc + s 31-21+6k I 2. (a) Solve the following system of linear equations using Cramer's Rule —> x+2y+3z=6 2x+4y+z=7 3x + 2y + 9z =14 (b) Construct a 2 x 2 matrix A= [aij]2 x 2 where each element is given by aij = BCS-012 2…

    • 570 Words
    • 3 Pages
    Satisfactory Essays