BCA DCA1102 SET 2 1 SEM 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

  1. 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.

1.      The strlen () function

It returns the number of characters in a string.

Syntax

int

  1. 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”, &

  1. 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

  1. 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

 

  1. 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.

Lowest 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

  1. 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

 

  1. 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.

Lowest 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

  1. 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 us