BCA fifth semester all sample questions papers for internal examination

BCA fifth semester all sample papers for internal examination

C Sharp programming

  1. Choose the correct answer
    A variable which is declared inside a method is called a ..........variable
    Serial
    Local
    Private
    Static

    Arrays in C# are ......... objects.
    Reference
    Logical
    Value
    Arithmetic

    What is the value of int in C#?
    1
    0
    Null
    Garbage

    ..........provies the interoperability between different dot net languages.
    ASP.NET
    LINQ
    CLR
    None

    We use.........keyword in a method in the base class which is overridden in derived class
    Static
    Virtual
    Abstract
    None

  2. Fill up the blanks.
    .......... is the process of defining two or more methods with same name but different parameter.

    .......... is the process of providing essential features of an object without providing details

    A .........Constructor is a method that is called when an object is created.

    A ..........control displays a list of items in a drop down list, where user can choose only a single option from list.

    A static class can contain only static member.

  3. Write true and false
    A sealed class cannot be used as based class.

    Runtime Polymorphism is also called early binding.

    Radio button is also called option button

    The constructor is invoked automatically

    The interfaces cannot be inherited,

  4. What is exception handling? Explain try-catch-finally statements.

  5. Explain the features of object oriented programming.

  6. Explain MenuStrip control and ToolbarStrip Control

Advance RDBMS(SQL)


  1. Choose the correct answer
    The term used to refer a row in a relation
    Attribute
    Tuple
    field
    Instance

    A relation that has no partial dependencies is in which normal form
    First
    Second
    Third
    BCNF

    A Command to remove a relation form an SQL database is
    Delete
    Drop
    Erase
    Alter

    Who proposed the relation model?
    Herman Hollerith
    Charles Babbage
    EF Codd
    None

    The operator which is used for appending two strings
    &
    %
    ||
    U

  2. Fill up the blanks
    The fifth normal form is also called PJNF Project Join normal form

    In general, a file is basically a collection of all related records.

    FAT stands for File allocation table

    A table which is in .....normal form may contain redundancies due to transitive dependencies

    Data Mining can be used to extract or filter the data warehouse.

  3. Write true or false
    Decomposition of relations, helps to reduce data redundancy.

    Tuple relational calculus is a non-procedural language.

    Update command In SQL is Data Definition Language

    In multiple transactions, the CPU time is shared among all the transactions.

    In a shared mode lock on transaction, we can do read and write operations.

  4. What are ACID properties in relational database? Explain

  5. Explain Deadlock with example.

  6. Explain the distributed database system with example.

Artificial Intelligence


  1. Choose the correct answer
    LISP is created by
    John MaCarthy
    Marvin Minsky
    Alan Turing
    Allen Newell

    Which search method takes less memory
    DFS
    BFS
    Optimal search
    Linear search

    How do you represent “All dogs have tails”?
    Ɐx : Dog(x) has tail(x)
    Ɐx : Dog(x) has tail(y)
    Ɐx : Dog(y) has tail(x)
    Ɐx : Dog(x) has a tail(x)

    Which is not property of representation of knowledge?
    Representational Verification
    Representational Adequacy
    Inferential Adequacy
    Inferential Efficiency

    What is the rule of simple reflex agent?
    Simple action rule
    Condition action rule
    Simple & Condition action rule
    None of the above

    Which search is implemented with an empty FIFO queue?
    DFS
    BFS
    Bidirectional search
    None of the above

    What is the space complexity of DFS
    O (b)
    O (bl)
    O (m)
    O (bm)

    Best First search can be implemented using the following data structure.
    Queue
    Stack
    Priority
    Queue
    Circular Queue

    Which search is similar to minimax search>
    Hill climbing search
    DFS
    BFS
    All of the above

    Which of the following is not the style of inference?
    Forward Chaining
    Backward chaining
    Resolution refutation
    Modus Ponen

  2. Explain semantic network with the help of an example

  3. What is hill Climbing algorithm

  4. What is heuristic approach?

  5. What is Expert System? Explain its Architecture, features and application.

  6. What is Natural Language Processing? Explain each step in NLP?


Software Testing

  1. Choose the correct answer.

    Which testing Is related to black box testing?
    Boundary value Analysis
    Code path testing
    Basis path testing
    None

    Which testing is also called acceptance testing?
    Alpha
    Beta
    White box
    Black box

    V model is a type of .....
    Test type
    Test level
    Software development testing model
    None

    A logical collection of test cases which naturally work together is called as ....
    Test procedure
    Test data
    Test suite
    Test log

    What is Cyclomatic complexity?
    White box testing
    Black box testing
    Both
    None

  2. Fill up the blanks

    Behavioral testing is also called ........... testing.

    The alpha testing is conducted at the developer’s site by the customer.

    When we are building the right product is called Validation.

    Area bounded by edges and nodes in flow graph is called region

    Cylomatic complexity is a software metric that provides a quantitative measure of the logical complexity of a program.

  3. Write True or false

    A good test has a high probability of finding an error

    Equivalence partitioning comes under white box testing

    Loop testing is white box testing

    Testing comes before coding

    The number of regions of flow graph corresponds to the cyclomatic complexity

  4. What is unit testing? Explain

  5. Differentiate between white box testing and black box testing.

  6. Expalin V model with example.

Programming in C# (Practical)

  1. Write a program to show the call by value and call by reference

  2. Write a program to convert decimal number to binary.

  3. Write a program to demonstrate the multiple catch blocks in exception handling.

Advance RDBMS(SQL) (Practical)

  1. Write a SQL query to create two tables and also find
    Union
    Intersection
    Natural join

  2. Write a SQL query to find those customers name whose balance is between 90000 and 100000 from relation customer.

  3. Show the Cartesian product of two relation borrower and account take the attribute accordingly