Questions : BCA 3rd Year (magadh University)

BCA Paper 5 (2011)

Time : 3 hours

Full Marks : 100

The Questions are of equal value.

Answer any five questions, including question no.1 which is compulsory.



1. Choose the correct answer:
(a) In visual Basic, the storage size of data type currency is
(i)   1 byte
(ii)  2 byte
(iii) 8 byte
(iv) 4 byte
(b) The range of data type in visual Basic is visual Basic is
(i)   January 1, 100 to December 31, 9999
(ii)  January 1, 1000 to December 31, 9000
(iii) January 2, 1900 to December 31, 9999
(iv)  None of these
(c) MDI stands for
(i)   Multiple Data Intraction
(ii)  Multiple Document Interface
(iii) Maximum Document Interface
(iv) None of these
(d) Menus can be created quickly by using the
(i)  Menu editor utility
(ii) Common dialog control
(iii)Text box
(iv) None of these
(e) For a maximized windows, the window State Property is set to be
(i)   1
(ii)  2
(iii) 0
(iv) 3
(f) The type of data file that can be created in VB is
(i)  Sequential
(ii) Random
(iii)Binary
(iv)All (i),(ii) and (iii)
(g) ODBC stands for
(i)   Oracle Database Connectivity
(ii)  Open Database Connectivity
(iii) Optional Database Connectivity
(iv) None of these
(h) Data about data is normally termed as
(i)   Directory
(ii)  Meta data
(iii) Data bank
(iv) None of these
(i) The relational data model is concerned with
(i)   Data structure and data integrity
(ii)  Data manipulation
(iii) Both (i) and (ii)
(iv) None of these
(j) In E-R diagram, a weak entity set is represented by
(i)  Double outlined rectangle
(ii) Rectangle
(iii)Oval
(iv)None of these
2.  (a) What do you mean by event driven programming? Explain some of the events   
supported by visual Basic Objects.
            (b) What are the different data types supported by Visual Basic? How can they be 
                  declared? Discuss the scope and lifetime of variables.
      3. differentiate between following and also list basic properties;
      (a)  Picture Box and Image control
      (b)  check box and option button
      (c)  Directory list box and file list box
      (d)  Label and Command button.
4.   (a) what is module ? Discuss form module, standard module and class module with 
            example.

            (b) what is procedure? Discuss general procedure and event procedure.
            (c) Discuss select case structure with example
            (d) Explain FOR…NEXT and FOR EACH… NEXT loop structure.

5.   (a) What is the difference between array and dynamic array?

            (b) write a program using dynamic array to record the high temperature of last seven 
                 days and display all of them with the average of high temperature. Use three buttons, 
                 one to enter temperature, second to display the result and third to exit from the  
                 program.
      6.  (a) Explain the various types of error that may occur in VB, Discuss how to avoid them
           (b) What are the advantages of OLE? Explain the various methods that can be applied 
                 to OLE container control.
      7.  (a) Discuss the menu Editor. How to create menu? Explain menu naming conventions.
           (b) Discuss briefly the graphics controls.
           (c) Write a program to print a given string 4 times each time with increased font size and 
                color.
      8.  (a) What do you mean by DBMS? What is its advantage?
           (b) Discuss hierarchical and relational data model.
           (c) what are schema and subschema?
           (d) Discuss the role of DBA.
      9.  (a) What do you mean by entity, entity set attributes and relationship?
           (b)  Discuss the different symbols used in E-R model.
           (c) Explain the terms generalization and specialization.
           (d) Discuss DDL, DML and DCL
      10. Discuss the following SQL commands with suitable examples:
           (a) Create table
           (b) Insert
           (c) Select
           (d) Delete
           (e) grant

Click Here for View answer


Read More

An Introduction of Programming with JAVA


History and Origin of Java

All of us must do programming but when any one talk about Java, Then all of them say - Java is an Awesome language as compare to other in most of the feature. Why Java is popular and secure language and every programmer want to program in java.
The seeds of Java were planted in 1990 by Sun Microsystems patriarch and chief researcher, Bill Joy. That time Sun was competing with the workstation market with other eminent company like Microsoft, IBM or other. But Sun missed the most of the important thing of Pc evolution. Then Joy was committed to the idea of accomplishing complex task with the simple software and found a small work group Sun Aspen as here Java origin was started. The most important and notable member of the Aspen was James Gosling who will be remembered as the father of Java. He is also known for author of the first Linux Emacs editor. Emacs was written in C on Unix Platform.

The First Person team worked on developing software for information appliances, such as cellular phones and personal digital assistants (PDAs). The goal was to enable the transfer of information and real-time applications over cheap infrared and packet-based networks. Memory and bandwidth limitations dictated small, efficient code. Gosling and his teammates began programming in C++, but they soon found themselves confounded by a language that was too complex, unwieldy, and insecure for the task. They decided to start from scratch, and Gosling began working on something he dubbed "C++ minus minus."
With the foundering of the Apple Newton, it became apparent that the PDA's ship had not yet come in, so Sun shifted First Person's efforts to interactive TV (ITV). The programming language of choice for ITV set-top boxes was to be the near ancestor of Java, a language called Oak. Even with its elegance and ability to provide safe interactivity, Oak could not salvage the lost cause of ITV at that time. Customers didn't want it, and Sun soon abandoned the concept.

At that time, Joy and Gosling got together to decide on a new strategy for their innovative language. It was 1993, and the explosion of interest in the Web presented a new opportunity. Oak was small, safe, architecture-independent, and object-oriented. As it happens, these are also some of the requirements for a universal, Internet-savvy programming language. Sun quickly changed focus, and, with a little retooling, Oak became Java.

I will post the more feature of Java in Next blog post keep tuning here and follow with us
Reference:
# Learning Java By Jonathan Knudsen, Patrick Niemeyer
# Introduction to Computing & Programming in Java By Mark Guzdial, Barbara Ericson 
# Wikipedia
# Google



Read More

Customize the website(Facebook, Gmail, Yahoo etc) Color and interface

I am just writing this Post is about to customizing the interface of your browser (Chrome, firefox). If all of you file bored to using the default background and interface of your favorite website you can change and made it more comfortable as you want like following  interface then follow the tutorial-
vjysoftworx
My Facbook Screen

My Youtue Interface 

Step 1:

At first we have to go at following link and installed the theme named Stylish to our browser-
                Click here for Chrome
                Click here for Firefox

Note: I recommended Chrome because it is more comfortable in customization task

If link provide above doesn't work then go through extension  website using browser and find the "STYLISH" theme in search box and install the extension.

Google Chrome :
Mozila Firefox:


Step 2:

Now Most of the configuration task is completed, It's time to add themes to particular website. 

First of open the website and use the Stylish add-on to enable disable  Manage or Find more theme online
Chrome:
1. Click on Stylish Icon and Enable, Disable, Delete the themes installed for facebook, gmail, youtube

2. We can select this option to find the more theme about the site with this link

Firefox:

1. We can find the STYLISH toolbar on firefox at the  bottom of firefox form where more theme can be downloaded and managed

Thank You 

Note:Stylish also provide facility to create own theme with the help of write new style option. All programmer can enjoy to work insite this interface.

Read More

Teachers of Today

     
   I am upset because of my collage. Teachers of today think that he knows better than their student. I am not agree with him. Becuase, Teacher teachs the student one or two subjects but, A student read more subject at a time and some of them have better idea related to specific topic. I feel it more time but today I diappointed more....
Read More