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 –

 

 

No comments:

Post a Comment