0% found this document useful (0 votes)
6 views8 pages

Internship - Set 1

Uploaded by

Aman Kumar
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)
6 views8 pages

Internship - Set 1

Uploaded by

Aman Kumar
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/ 8

1/17/24 igniters hub Confidential 1

Selection Process

Coding Challenge Internship

01 03

02

Tech & HR Interview

1/17/24 igniters hub Confidential 2


Challenge 1 – Approximate Search

Write an interactive program to implement ‘Approximate Search’ for a given set of N


strings. That is, given a word, find the top k strings in the set among those that are
similar.

Language:- Python

The program must be able to read a text file and parse the content of the file and store it in-memory.
The program should wait for the user’s input. Once the user enters some text and presses enter the
program should return a list of suitable suggestions.

Example:1 Example:2
Input >> abslutly Input >> actv
Ouput >> absolutely Ouput >> active, activist, activity

1/17/24 igniters hub Confidential 3


Challenge 2 – Evaluate Arithmetic Expressions

Write a program that reads a text file, solves all the Arithmetic Expressions given in
the text file, and generates a new output file with answers.

Language:- Python

The program must be able to solve Arithmetic Expressions given in the input file by reading each line
of the file then solving each expression one by one. In the end, the program should generate a new
file containing the calculated answers filled in the right-hand side of the expression.

Allowed Characters and Expressions


Digits 0 - 9 and + - * / ^ . ( ) [ ] { }

Input Output
10 – 2 = 10 – 2 = 8
100 * ( 2 + 12 ) = 100 * ( 2 + 12 ) = 1400
(10 + 5^2) ( (5*-2) + 9 - 3^3) / 2= (10 + 5^2) ( (5*-2) + 9 - 3^3) / 2 = -490

1/17/24 igniters hub Confidential 4


Challenge 3 – Send An Email

Write a program to programmatically trigger an email.

The program must be able to send an email to “[email protected]”.

The Subject of the email Should mention “Challenge 3 Completed”.

The body of the email should contain:


1. Your name, semester, branch, and roll number
2. An image attachment. (Only images of type PNG, JPG, JPEG are allowed.)

During the development, please use your personal email id to test the program.

1/17/24 igniters hub Confidential 5


Challenge 4 – Palindrome Checker

Write a program that checks whether a given string is a palindrome or not. A


palindrome is a word, phrase, or sequence of characters that reads the same
backwards as forward.

Language:- Python

Your program should prompt the user to enter a string, and then it should determine and
display whether the input string is a palindrome or not.

Input Output
Enter a string : racecar The string ‘racecar’ is a palindrome.

1/17/24 igniters hub Confidential 6


Notes

1. Program for all the challenges must be committed in a new repository in GIT HUB
(https://github.com/IgnitersHubProjects/interns-assignments)
2. Please grant read access to the repository.
3. If you don’t know how to do the above 2 steps, we are sure that you can figure it
out.
4. All the challenge questions are mandatory.
5. Please use Google, Stack Overflow, etc to take help. There is no restriction on
searching on the web.
6. Send your queries at [email protected]

1/17/24 igniters hub Confidential 7


Thank You

You might also like