Thursday, July 25, 2024

 Quiz carries 20 Marks Please note following

Keep Ready a pdf file congaing answer for following question available in google Form

Write a C /Java program to 

1 Exchange values of two given variable without using third variable or pointer. 5 marks
2. Identify number of bits Required to represent an integer number  
 5 Marks
No functions are to be called. 
Upload a single PDF file with file name as your USN Ex. 22AI089.pdf


Use the following link to upload pdf and answer all questions

Tuesday, July 23, 2024

 Assignment 2

write a C program to perform following

1. Program DataProducerA Produces a random number (minimum 200 values)

The random number generated are to be stored in file Data1.txt 

2 Program DataProducerB Produces a random number (minimum 250 values)

The random number generated are to be stored in file Data2.txt

3 Program Mearge sort ( or any sorting algorithm)

Read data1.txt and data2.txt  and generate sorted list

Save sorted list in data3.txt 

4. Represent data in data3.txt as a min Heap in an array

Function to use

1. fopen, fread

2. rand() 

Note: include header file

#include<stdlib.h>

#include<time.h>

#include<stdio.h>

send your code to 

dhananjay@gndecb.ac.in




Saturday, July 13, 2024

 Design and analysis of algorithm As per the prescribed syllabus of VTU

for any queries / corrections mail back to dhan_mak@yahoo.com

 Quiz carries 20 Marks Please note following Keep Ready a pdf file congaing answer for following question available in google Form Write a C...