Académique Documents
Professionnel Documents
Culture Documents
Bachelor of Computer Application Semester II BCA2050 Computer Organization 4 Credit (Book ID: B1642) Assignment Set 1 (60 Marks) Answer all the Questions. Each question carries 10 marks [6 x 10 = 60]
1. Explain the functional units of a basic computer with a neat diagram. Ans:
Input Unit
The input unit accepts coded information from human operators or from other computers.
Examples: Keyboard, joystick, mouse, input pen, touch screen, trackball, scanner, bar code readers, microphone, floppy disks, magnetic tapes, compact disks. Memory Unit Primary Storage
Primary Storage or Main Memory (MM). This is where programs are stored during their execution. The MM is a fast memory capable of operating at electronic speeds.
The information in MM is often processed in groups of fixed size called words. The number of bits in a word is the word length of the computer. Typical word lengths range from 16 to 64 bits. The MM is organized so that the contents of one word, containing n bits, can be stored or retrieved in one basic operation.
To provide easy access to any word in MM, a distinct address is associated with each word location. Addresses are numbers that identify successive locations.
MM is also known as random-access memory (RAM). RAM is a memory in which any location can be reached in a short, fixed amount of time.
The time required to access one word is the memory access time. For RAMs, this time is fixed, independent of the location of the word being accessed. It typically ranges from 10 to 100 nanoseconds for most modern computers.
Revised Fall 2012 Bachelor of Computer Application (BCA) Semester - I BCA1030 - Basic Mathematics 4 Credits
(Book ID: B0947) Assignment Set II (60 Marks) Answer All Questions [6 X 10 = 60 Marks]
Revised Fall 2012 Bachelor of Computer Application Semester II BCA2040 - Communication Skills 2 Credits (Book ID: B1026) Assignment Set -1 (30 Marks)
1. [5marksj Ans:
Give
five
examples
for
non-verbal
communication.
Communication is transferring information between one person and another. Non verbal communication can be divided into four categories: aesthetic, physical, signs, and symbols. Following is an explanation and examples of non verbal communication.
Aesthetic communication occurs through creative expression. This would include all the arts: music, dance, theatre, crafts, art, painting, and sculpture. Ballet is a great example of this, as there is dance and music, but no spoken or sung words. Even in an opera, where there are words, there are still facial expressions, costumes, posture, and gestures. Physical communication covers the personal kind of communication, and includes a smile or frown, wink, touch, smell, salute, gesture, and other bodily movements. Social conversation uses a lot of these physical signals along with the spoken words.
[6 x 10 = 60]
1. Write a program that accepts two numbers from the user and swaps the two numbers without using a temporary variable. Ans: #include <stdio.h>
a = a + b; b = a - b; a = a - b;
BCA 2010 Attempt all questions: Each question carries 10 marks [6 x 10 = 60]
1. Explain a) Multi-programmed Batched Operating Ans: In multiprogramming, multiple programs (or jobs) of different users can be executed simultaneously (i.e. at the same time). The multiple jobs that have to be run simultaneously must be kept in main memory and the operating system must manage them properly. If these jobs are ready to run, the processor must decide which one to run.
In multi-programmed batch system, the operating system keeps multiple jobs in main memory at a time. There may be many jobs that enter the system. Since in general, the main memory is too small to accommodate all jobs. So the jobs that enter the system to be executed are kept initially on the disk in the job pool. In other words, you can say that a job pool consists of all jobs residing on the disk awaiting allocation of main memory. When the operating system selects a job from a job pool, it loads that job into memory for execution.
[10 x 6 = 60]
a. (ABE)16=(2750)2
b. (101011)2=(43)10
c. (25.2)10=( 11001)2
2. How OR gate can be realized using NAND gates? Demonstrate. Ans: This can be done with three NAND gates.
A basic NAND gate is: O = !(I1 & I2) where I1 and I2 are the inputs and O is the output.
Semester - I BCA1020 Programming in C 4 Credits (Book ID: B1639) Assignment Set 1 (60 Marks)
Book ID:
1) Explain the basic structure of a C program with an example. marks) Ans: // my first program in C++
(5
(Book B1651)
ID:
Assignment Marks)
Set
(60
Ans: A data structure is a group of data elements grouped together under one name. These data elements, known as members, can have different types and different lengths. Data structures are declared in C++ using the following syntax:
Revised Fall 2012 Bachelor of Computer Application Semester I BCA1010 Fundamentals of IT & Programming 2 Credits (Book ID: B1475) Assignment Set 1 (30 Marks) Note: Answer all the questions 1. Briefly explain on the characteristics of computers [10 Marks] Ans: The characteristics of computers that have made them so powerful and universally useful are speed, accuracy, diligence, versatility and storage capacity. Let us discuss them briefly.
Speed
Computers work at an incredible speed. A powerful computer is capable of performing about 3-4 million simple instructions per second.
Accuracy
In addition to being fast, computers are also accurate. Errors that may occur can almost always be attributed to human error (inaccurate data, poorly designed system or faulty instructions/programs written by the programmer)