Sunday 26 September 2021

BCA SET 2 DCA1102 SEM 1 SOLVED ASSIGNMENT MANIPAL JAIPUR UNIVERSITY

 

INTERNAL ASSIGNMENT SET-II

SESSION

FEB/MAR 2021

PROGRAMME

BACEHOLOR OF COMPUTER APPLICATIONS (BCA)

SEMESTER

I

COURSE CODE & NAME

DCA1102- PROGRAMMING IN C

Q.1 a. What is an array? Explain the declaration and initialization of one and two-dimensional arrays with example.

An array is defined as an ordered set of similar data items. All the data items of an array are stored in consecutive memory locations in RAM. The elements of an array are of same data type and each item can be accessed using the same name.

1D ARRAY

b. A palindrome is a string that reads the same forwards or backwards. For instance, “madam”, “abba”, and “x” are palindromes, while “ab”, and “foo” are not. You are to complete a function to determine if a string is a palindrome. For this question, a string must be exactly the same forward and backward to be a palindrome, including whitespace (so the string “nurses run” is not a palindrome here). We will also consider an empty string (length 0) to be a palindrome.

Write function IsPalindrome() so it returns 1 (true) if its string argument is a palindrome and returns 0 (false) if it is not. You may assume that the function argument is a properly \0-terminated C string. You may use any of the C string library functions in. You may not copy or modify the string – only examine it.

#incl

Q.2 a. Explain any five string manipulation library functions with examples.

Function

Work of Function

strlen()

computes string's length

strcpy()

copies a string to another

strcat()

concatenates(joins) two strings

strcmp()

compares two strings

strlwr()

converts string to lowercase

1.      The strlen () function

It returns the number of characters in a string.

Syntax

int

 

b. Write a C function isprime(num) that accepts an integer argument and returns 1 if the argument is prime, a 0 otherwise. Write a C program that invokes this function to generate prime numbers between the given ranges.

#include <stdio.h>

int main()

{

   int i, num, p = 0;

   printf("Please enter a number: \n");

   scanf("%d", &

 

Q. 3 a. What is a pointer? Explain how the pointer variable declared and initialized.

 

Pointer is a variable used to store the address of another variable or a memory location. It always

 

c. Write a C program to read n unsorted numbers to an array of size n and pass the address of this array to a function to sort the numbers in ascending order using bubble sort technique.

 

INTERNAL ASSIGNMENT SET-II

SESSION

FEB/MAR 2021

PROGRAMME

BACHELOR OF COMPUTER APPLICATION (BCA)

SEMESTER

I

COURSE CODE & NAME

DCA1104 – UNDERSTANDING PC & TROUBLESHOOTING

 

Q. 1 Describe construction of a hard drive with diagram.

The Hard Drive

The hard drive is also known as hard disk drive or fixed disk drive. It is the main and largest storage device on the Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

Q. 2 Discuss maintenance and troubleshooting of a Keyboard.

The keyboard, a primary

Q.3 Discuss functioning of Compatibility mode, Nibble mode and EEP mode in parallel port.

Compatibility mode: This mode is used to define the basic protocol used in the computers to transfer data from computer to printer. It is also called as Centronics mode. It was mainly designed to serve the dot matrix

 

INTERNAL ASSIGNMENT SET-II

SESSION

FEB/ MAR 2021

PROGRAMME

BACHELOR OF COMPUTER APPLICATION (BCA)

SEMESTER

I

COURSE CODE & NAME

DCA1101 – FUNDAMENTALS OF IT AND PROGRAMMING

 

Q. 1 Define Software Testing. Explain software testing strategy in detail.

Software Testing is the process of executing a program or system with the intent of finding errors. Testing presents a stimulating variance for the software engineer. During earlier software engineering

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

requirements. Black-box testing techniques are used exclusively during validation.

Q.2 What is Operating System? Discuss the different components of Operating System.

An operating system (OS) is a platform that controls the implementation of an application program and acts as an interface between the user and computer hardware. The purpose of an OS is to provide an environment in which a user can execute programs in a convenient and efficient manner.

Operating System

Q. 3 Explain Reference OSI Model. How is the data transmission done in OSI model?

The layered model that dominated data communications and networking literature before 1990 was the Open Systems Interconnection (OSI) model. Everyone believed that the OSI model would become the ultimate standard for data communications, but this did not happen. The TCP/IP protocol suite became the dominant commercial architecture because it was used and tested

 

Q.1 (a) Evaluate lim𝑥→0.

We need to find thelimit of thegiven equation when x = > 0

Now let us substitute the value of x as 0, we get an indeterminate form of 0/0.

Let us rationalizing the given equation, we get

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

 

Q.2 (a) Evaluate∫(3t+t2) sin(2t) dt.

Q. 2 (b) Solve: {2xy.cosx2-2xy+1}dx + {sinx2-x2+3}dy = 0

Step1.Verify the equation is exact or not.

M = 2xy.cosx2-2xy+1

N = sinx2-x2+

Q. 3 (a) Multiply 3 + 4i by 7 – 3i.

= (3 + 4i) (7 – 3i)

= 21 –

 

 

MCA SET 2 DCA6102 SEM 1 SOLVED ASSIGNMENT MANIPAL JAIPUR UNIVERSITY

 


 

Directorate of Online Education

 

 

INTERNAL ASSIGNMENT SET-II

 

 

SESSION        FEB/MAR 2021

PROGRAMME          MASTER OF COMPUTER APPLICATION (MCA)

SEMESTER    I

COURSE CODE & NAME    DCA6105 - COMPUTER ARCHITECTURE

CREDITS        4

NUMBER OF ASSIGNMENTS,

CREDITS &MARKS  02

4 Credits, 30 Marks each

 

Question 1  What do you understand by pipelining? Discuss with an example the different hazards possible with pipelining?

Answer An implementation technique by which the execution of multiple instructions can be overlapped is called pipelining. This pipeline technique splits up the sequential process of an instruction cycle into sub-processes that operates concurrently in separate segments. As you know computer processors can execute millions of instructions per second. At the time one instruction is getting processed, the following one in line also gets processed within the same time, and so on. A pipeline permits multiple instructions to get executed at the same time. Without a pipeline, every instruction has to wait for

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

 

Question  2 What do you understand by multithreading? Discuss the principles of multithreading?

Answer Multithreading: Multithreading is another method for reducing or hiding latency. Multithreading is a process which is very common in modern computers. Basically it is multi-programming in which several processes can run at the same time. If we want the switching process to be speedy then we have to provide each process a memory map and hardware registers. Now if one process blocks while waiting for remote data, then

the switching can

 

Question  3  Discuss the various types of Vector Instructions for a register- register vector processor.

Answer  Types of Vector Instructions: The various types of vector instructions for a register-register vector processor are:

.

Q. 1 (a) Discuss the continuity of the function (𝑥)= at x=a.

f(x) =

at x = a

f(a) = Q. 1 (b) Evaluate  .

Let  = t x = t2 so that dx = 2t dt

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

Q 2 (a) If  prove that, .

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

Q. 2 (b) Multiply 3 + 4i by 7 – 3i.

= (3 + 4i) (7 – 3i)

= 21 – 9i +28i – 12i2

Q. 3 (a) If where, v is the region bounded by the surfaces x = 0, y = 0, x = 2, y = 4, z = x2, z = 2.

 =

Q. 3 (b)

Evaluate, using the properties of determinant.

R3

R1

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

 

Q. 1(a) Explaingoto statement with example.

The goto statement is rarely used because it makes program confusing, less readable and complex. Also, when this is used, the control of the program won’t be easy to trace, hence it makes testing and debugging

Q. 1(b) Explain nested if statement.

When an if else statement is present inside the body of another “if” or “else” then this is called nested if else.

 

Q.2 (a) What is a function? How can you declare a function? Explain with example.

A function is a block of statements that performs a specific task. Let’s say you are writing a C program and you need to perform a same task in that program more than once. In such case you have two options:

a) Use the same set

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

 

Q. 2(b) What is recursion? Give an example of recursion.

Recursion is the process of repeating items in a self-similar way. In programming languages, if a program allows you to call a function inside the same function, then it is called a recursive call of the

 
Q. 3(a) What do you understand by storage class?

A storage class defines the scope (visibility) and life-time of variables and/or functions within a C Program. They

Q. 3(b) What is static storage class? Write a program to generate Fibonacci numbers using static variables.
This storage class is used to declare static variables which are popularly used while writing programs in C language. Static variables have a property of preserving their value even after they are out of their scope! Hence, static variables preserve the value of their last use in their scope. So we can say that they are initialized only once and exist till the termination of the program. Thus, no new memory 

 

Q. 1 What do you mean by Adaptive Query Processing (AQP) and what is the role of Eddy in AQP? What categories of complexities are encountered while implementing AQP?

Adaptive Query Processing analyzes actual query run time statistics and uses that information for subsequent optimizations.

With rapidly increasing amounts of data, the price of miscalculating complex plans can result in dramatic performance problems. These problems might be measured in minutes or hours instead of seconds or minutes. Traditionally, optimizer architecture has attempted to overcome

Q.2 What are the properties that a transaction must have in an Online Transaction Processing System (OLTP) and what are various types of locks used for implementing concurrency control among cooperating transaction?

OLTP is an operational system that supports transaction-oriented applications in a 3-tier architecture. It administers the day to day transaction of an organization. OLTP is basically focused on query processing, maintaining data integrity in multi-access environments as well as effectiveness that is measured by the total number of transactions per second. The full form of OLTP is

Manipal University

Fully solved assignment available for session Feb/March 2021,

 

your last date is 31th July 2021.

https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gifLowest price guarantee with quality.

Charges INR 150 only per assignment. For more information you can get via mail or Whats app also


Mail id is 
aapkieducation@gmail.com

 

Our website www.aapkieducation.com

After mail, we will reply you instant or maximum

1 hour.

Otherwise you can also contact on our

whatsapp no 8791490301.

Contact no is +91 87-55555-879

 

Q.3 Explain the objectives, advantages and disadvantages of Parallel Databases in modern transaction processing systems? What are various multiprocessor architectures used to support parallel databases.

A variety of hardware architectures allow multiple computers to share access to data, software, or peripheral devices. A parallel database is designed to take advantage of such architectures by running multiple instances which "share" a single physical database. In appropriate applications, a