BCA1040 - DIGITAL LOGIC

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601

ASSIGNMENT
PROGRAM
BCA
SEMESTER
1
SUBJECT CODE & NAME
BCA1040/IMC1040- DIGITAL LOGIC
CREDIT
4
BK ID
B0948
MAX.MARKS
60

Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme.

1. Convert the following:

(i)(0100 1111 1011 0010)2 to octal number and decimal number.
Answer: - Binary to Octal Conversion:-
The Octal

ii) (6704)8 to decimal and binary number.
Answer: - The binary representation of


2 Construct the following gates using NOR gates.
Answer:- (a)XOR: - An XOR gate is constructed similarly to an OR gate, except with an additional NAND gate inserted such that if both inputs are high, the inputs to the final NAND gate will also be high, and the output will be low
3 Simplify the following truth table using k-map and find the reduced function f(x,y,z).
X                 y                z              f(x,y,z)
0                0                 0                     1
0                0                 1                     1
0               1                    0                  1
0               1                  1                    1
1              0                    0                  0
1               0                   1                  0
1               1                  0                  1
1               1                 1                    1


Answer: - A Karnaugh map is an array containing 2k cells where k is the number of variables in the DNF expression to be minimized.  Each cell of the Karnaugh map corresponds to one row of the truth table, or one assignment of truth values to the variables of the expression.
K-maps is an alternate approach to representing Boolean functions.
·         K-map representation can be used to
·          
·          
4. Draw the truth table of full adder and implement it using the logic gates.
Answer: - Full adder:- This type of adder is a little more difficult to implement than a half-adder. The main difference between a half-adder and a full-adder is that the full-adder has three inputs and two outputs. The first two inputs are A and B and the third input is an input carry designated as CIN. When a full adder logic is designed we will be able to string eight of them together to create a byte-wide adder and cascade the carry bit from one adder to the next.


Q.5 What are sequential circuits? Explain differences between sequential circuits and combinational circuits.
Answer:-Sequential circuits:-  In digital circuit theory, sequential logic is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its inputs. This is in contrast to combinational logic, whose output is a function of only the present input. That is, sequential logic has state (memory) while combinational logic does not. Or, in other words, sequential logic is combinational logic with memory.
Sequential logic is used to construct finite state machines

Q.6 What are shift registers? Explain serial in serial out shift register.
Answer: - A shift register is a cascade of flip flops, sharing the same clock, in which the output of each flip-flop is connected to the "data" input of the next flip-flop in the chain, resulting in a circuit that shifts by one position the "bit array" stored in it, shifting in the data present at its input and shifting out the last bit in the array, at each transition of the clock input. More generally, a shift register may be multidimensional, such that its "data in" and stage outputs are themselves bit arrays: this is implemented simply by running several shift
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601


BCA1030- BASIC MATHEMATICS

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601



[Fall 2014] ASSIGNMENT
PROGRAM
BCA (REVISED FALL 2012)
SEMESTER
1
SUBJECT CODE & NAME
BCA 1030- BASIC MATHEMATICS
CREDIT
4
BK ID
B0947
MAX.MARKS
60

Q.1 Differentiate xsinx w.r .t.x
Answer:-


Q.2 Prove that the set Z4 = {0, 1, 2, 3} is an abelian group w.r.t. addition modulo 4.
Answer:- abelian group:- In abstract algebra, an abelian group, also called a commutative group, is a group in which the result of applying the group operation to two group elements does not depend on their order (the axiom of commutativity). Abelian groups generalize the arithmetic of addition of integers. They are named after Niels Henrik Abel.

Answer


Q.4 One third of the students in a class are girls and the rest are boys. The probability that a girl gets a first class is 0.4 and that of a boy is 0.3. If a student having first class is selected, find the probability that the student is a girl.
Answer:-


Answer:-
Q.6 The mean and standard deviation of 63 children on an average test are respectively 27.6 and 7.1. To them are added a new group of 26 who have less training and whose mean is 19.2 and standard deviation is 6.2. How will the value of combined group differ from those of the original 63 children as to mean and standard deviation?
Answer:-
Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601





BCA1020- PROGRAMMING IN C

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :
“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601


ASSIGNMENT
PROGRAM
BCA
SEMESTER
FIRST
SUBJECT CODE & NAME
BCA1020- PROGRAMMING IN C

CREDIT
4
BK ID
B1639
MAX.MARKS
60

Note: Answer all questions. Kindly note that answers for 10 marks questions should be approximately of 400 words. Each question is followed by evaluation scheme.
Q.1 Define operators. Briefly explain about any four Operators in C.
Answer: - Operators are the symbol which operates on value or a variable. For example: + is a operator to perform addition programming language has wide range of operators to perform various operations. For better understanding of operators, these operators can be classified as:
Mathematical Operators:- Mathematical


2 Differentiate between while and do-while statements.
Answer: - While: - The while loop checks whether the test expression is true or not. If it is true, code/s inside the body of while loop is executed, that is, code/s inside the braces { } are executed. Then again the test expression is checked whether test expression is true or not. This process continues until the test expression becomes false.
Example of while loop:-
Write a C program to find the factorial of

Q. 3. Describe about static and external variables.
Answer:- Lifetime of a static variables is throughout a program but its accessibility within the function in which it is declared. External variables are global variables. it can be accessed in any function within a program or out side of the program.
external variables:- In the C programming language, an external variable is a variable defined outside any function block. On the other hand, a local (automatic) variable is a variable defined inside a function block.
As an alternative to automatic variables, it is

4 Define structure. What is the syntax for defining a structure? Write a simple program using structure.
Answer: - Structure:- A struct in the C programming language (and many derivatives) is a complex data type declaration that defines a physically grouped list of variables to be placed under one name in a block of memory, allowing the different variables to be accessed via a single pointer, or the struct declared name which returns the same address. The struct can contain many other complex and simple data types in an association, so is a natural organizing type for records like the mixed data types in lists of directory entries reading a hard drive (file
Q. 5 Define macro. How we can declare a macro statement? Explain with an example.
Answer:- A Macro is typically an abbreviated name given to a piece of code or a value. Macros can also be defined without any value or piece of code but in that case they are used only for testing purpose.
Defining Macros without values


Q. 6 What is the use of fopen () and fclose () function? List and explain different modes for opening a file.
Answer:- Opening And Closing A Disk File
·         Before we dive into the details, take note that the program examples presented here just  for basic file I/O that applies to DOS and Linux.
·         For Windows, you have to study the Win32 programming that provides specifics file I/O  and other related functions. Here we do not discuss in

Dear students get fully solved assignments
Send your semester & Specialization name to our mail id :

“ help.mbaassignments@gmail.com ”
or
Call us at : 08263069601