[go: up one dir, main page]

0% found this document useful (0 votes)
42 views6 pages

Sample LP-III Chits

The document contains instructions for 20 tasks involving blockchain development, data structures, algorithms, and machine learning models. The tasks include writing smart contracts for banking applications, implementing algorithms for knapsack problems, Fibonacci numbers, and Huffman coding. Other tasks involve predicting Uber prices with regression models, classifying emails with KNN and SVM, detecting customer churn with neural networks, implementing K-Means clustering, and gradient descent. The tasks require skills like Solidity, data preprocessing, model evaluation, and analyzing time/space complexity.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views6 pages

Sample LP-III Chits

The document contains instructions for 20 tasks involving blockchain development, data structures, algorithms, and machine learning models. The tasks include writing smart contracts for banking applications, implementing algorithms for knapsack problems, Fibonacci numbers, and Huffman coding. Other tasks involve predicting Uber prices with regression models, classifying emails with KNN and SVM, detecting customer churn with neural networks, implementing K-Means clustering, and gradient descent. The tasks require skills like Solidity, data preprocessing, model evaluation, and analyzing time/space complexity.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1.

a.Create your own wallet using Metamask for crypto transactions. Transfer
money from one to other account

b.Write a program non-recursive and recursive program to calculate Fibonacci


numbers and analyze their time and space complexity.

2. a. Write a smart contract on a test network, for Bank account of a customer for
following operations: • Deposit money • Withdraw Money • Show balance

b. Write a program to implement Huffman Encoding using a greedy strategy.

3. a. Write a program in solidity to create Student data.


Use the following constructs:
• Structures • Arrays • Fallback
Deploy this as smart contract on Ethereum and Observe the transaction fee and
Gas values

b. Write a program to solve a fractional Knapsack problem using a greedy


method

4. a. Write a smart contract on a test network, for Bank account of a customer for
following operations: • Deposit money • Withdraw Money • Show balance

b.Write a program to solve a 0-1 Knapsack problem using dynamic


programming or branch and bound strategy.

5. a . Write a program in solidity to create Student data.


Use the following constructs:
• Structures • Arrays • Fallback Deploy this as smart contract on Ethereum and
Observe the transaction fee and Gas values

b.Design n-Queens matrix having first Queen placed. Use backtracking to place
remaining Queens to generate the final n-queen‘s matrix.

6. a. Write a smart contract on a test network, for Bank account of a customer


for following operations:
• Deposit money
• Withdraw Money
• Show balance
b. Design n-Queens matrix having first Queen placed. Use backtracking to
place remaining Queens to generate the final n-queen‘s matrix.
7. a. Create your own wallet using Metamask for crypto transactions. Transfer
money from one to other account.
7.

b. Write a program non-recursive and recursive program to calculate


Fibonacci numbers and analyse their time and space complexity.

a. Write program to display employee details (Id, Name, salary,


8. joining date) using structure. Deploy this as smart contract on
Ethereum and Observe the transaction fee and Gas values.

b. Write a program non-recursive and recursive program to calculate


Fibonacci numbers and analyze their time and space complexity.

1. a. Write a program in solidity to create Student data. Use the


following constructs:
Structures • Arrays • Fallback
9. Deploy this as smart contract on Ethereum and Observe the transaction fee
and Gas values

b. Write a program to implement Huffman Encoding using a


greedy strategy.

ML+DAA
a. Predict the price of the Uber ride from a given pickup point to the
10. agreed drop-off location.
Perform following tasks:
1. Pre-process the dataset.
2. Identify outliers.
3. Check the correlation.
4. Implement linear regression and random forest regression models.
5. Evaluate the models and compare their respective scores like R2, RMSE,
etc.
Dataset link: https://www.kaggle.com/datasets/yasserh/uber-fares-dataset

b. Write a program non-recursive and recursive program to calculate


Fibonacci numbers and analyze their time and space complexity.
11. a. Classify the email using the binary classification method. Email Spam
detection has two states: a) Normal State – Not Spam, b) Abnormal
State – Spam. Use K-Nearest Neighbors and Support Vector Machine
for classification. Analyze their performance.
Dataset link: The emails.csv dataset on the Kaggle
https://www.kaggle.com/datasets/balaka18/email-spam-classification-
dataset-csv
b. Write a program to implement Huffman Encoding using a greedy
strategy.

12 a. Given a bank customer, build a neural network-based classifier that can


determine whether they will leave or not in the next 6 months.
Dataset Description: The case study is from an open-source dataset from
Kaggle.
The dataset contains 10,000 sample points with 14 distinct features such as
CustomerId, CreditScore, Geography, Gender, Age, Tenure, Balance, etc.
Link to the Kaggle project:
https://www.kaggle.com/barelydedicated/bank-customer-churn-modeling
Perform following steps:
1. Read the dataset.
2. Distinguish the feature and target set and divide the data set into training
and test sets.
3. Normalize the train and test data.
4. Initialize and build the model. Identify the points of improvement and
implement the same.
5. Print the accuracy score and confusion matrix (5 points).

b. Write a program to solve a fractional Knapsack problem using a greedy


method.

13 a. Implement Gradient Descent Algorithm to find the local minima of a


function.
For example, find the local minima of the function y=(x+3)² starting from
the point x=2.

b.Write a program to solve a 0-1 Knapsack problem using dynamic


programming or branch and bound strategy.
14. a.Implement K-Nearest Neighbors algorithm on diabetes.csv dataset.
Compute confusion matrix, accuracy, error rate, precision and recall on the
given dataset.
Dataset link : https://www.kaggle.com/datasets/abdallamahgoub/diabetes

b.Design n-Queens matrix having first Queen placed. Use backtracking to


place remaining Queens to generate the final n-queen‘s matrix.

ML+BCT

15 a.Implement K-Means clustering/ hierarchical clustering on


sales_data_sample.csv dataset. Determine the number of clusters using the
elbow method.
Dataset link : https://www.kaggle.com/datasets/kyanyoga/sample-sales-data

b.Installation of MetaMask and study spending Ether per transaction.


Create your own wallet using Metamask for crypto transactions.

a.Predict the price of the Uber ride from a given pickup point to the agreed
16 drop-off location.
Perform following tasks:
1. Pre-process the dataset.
2. Identify outliers.
3. Check the correlation.
4. Implement linear regression and random forest regression models.
5. Evaluate the models and compare their respective scores like R2, RMSE,
etc.
Dataset link: https://www.kaggle.com/datasets/yasserh/uber-fares-dataset

b.Write a smart contract on a test network, for Bank account of a customer


for following operations:
• Deposit money
• Withdraw Money
• Show balance
17 a.Classify the email using the binary classification method. Email Spam
detection has two states: a) Normal State – Not Spam, b) Abnormal State –
Spam. Use K-Nearest Neighbors and Support Vector Machine for
classification. Analyze their performance.
Dataset link: The emails.csv dataset on the Kaggle
https://www.kaggle.com/datasets/balaka18/email-spam-classification-
dataset-csv
b.Write a program in solidity to create Student data. Use the following
constructs:
• Structures
• Arrays
• Fallback

Deploy this as smart contract on Ethereum and Observe the transaction fee
and Gas values

a.Given a bank customer, build a neural network-based classifier that can


determine whether they will leave or not in the next 6 months.
Dataset Description: The case study is from an open-source dataset from
Kaggle.
The dataset contains 10,000 sample points with 14 distinct features such as
18 CustomerId, CreditScore, Geography, Gender, Age, Tenure, Balance, etc.
Link to the Kaggle project:
https://www.kaggle.com/barelydedicated/bank-customer-churn-modeling
Perform following steps:
1. Read the dataset.
2. Distinguish the feature and target set and divide the data set into training
and test sets.
3. Normalize the train and test data.
4. Initialize and build the model. Identify the points of improvement and
implement the same.
5. Print the accuracy score and confusion matrix (5 points).

b. Write a program in solidity to create Student data.


Use the following constructs:
• Structures • Arrays • Fallback

19
a. Implement Gradient Descent Algorithm to find the local minima of a
function.
For example, find the local minima of the function y=(x+3)² starting from
the point x=2.

b.Write a program using array


a. Accept and display array elements
b. Find addition of all array elements

20
a. Implement K-Nearest Neighbors algorithm on diabetes.csv dataset.
Compute confusion matrix, accuracy, error rate, precision and recall
on the given dataset.
Dataset link : https://www.kaggle.com/datasets/abdallamahgoub/diabetes

b. Write program to display employee details (Id, Name, salary, joining


date) using structure. Deploy this as smart contract on Ethereum and
Observe the transaction fee and Gas values.

21
a. Given a bank customer, build a neural network-based classifier that
can determine whether they will leave or not in the next 6 months.
Dataset Description: The case study is from an open-source dataset from
Kaggle.
The dataset contains 10,000 sample points with 14 distinct features such as
CustomerId, CreditScore, Geography, Gender, Age, Tenure, Balance, etc.
Link to the Kaggle project:
https://www.kaggle.com/barelydedicated/bank-customer-churn-modeling
Perform following steps:
1. Read the dataset.
2. Distinguish the feature and target set and divide the data set into training
and test sets.
3. Normalize the train and test data.
4. Initialize and build the model. Identify the points of improvement and
implement the same.
5. Print the accuracy score and confusion matrix (5 points).

b. Write program to display employee details (Id, Name, salary,


joining date) using structure. Deploy this as smart contract on
Ethereum and Observe the transaction fee and Gas values.

You might also like