diff --git a/README.md b/README.md index 7860ea5..b21ac96 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,9 @@ git config --global user.email "your.email@college.edu" --- +## NOTE: Clone the repository only after the questions get posted. + + ## 🚀 Getting Started: Fork, Copy URL, and Clone ### 1. **Fork this Repository** diff --git a/members_selection_test/MATLAB questions/Question_1_Data_Science_Laboratory.m b/members_selection_test/MATLAB_Questions/Q1_Data_Science_Laboratory.m similarity index 97% rename from members_selection_test/MATLAB questions/Question_1_Data_Science_Laboratory.m rename to members_selection_test/MATLAB_Questions/Q1_Data_Science_Laboratory.m index 988837b..9c72eca 100644 --- a/members_selection_test/MATLAB questions/Question_1_Data_Science_Laboratory.m +++ b/members_selection_test/MATLAB_Questions/Q1_Data_Science_Laboratory.m @@ -85,7 +85,7 @@ 📁 SUBMISSION INSTRUCTIONS: ========================== - Create a new MATLAB file named "Data_Lab_[YourName].m" -- Save your solution in the "Submissions" folder +- Save your solution in your personal folder inside the "Submissions" folder - Do NOT modify this question file - Include your name and roll number as comments at the top of your solution file @@ -97,6 +97,7 @@ % Name: [Your Full Name] % Roll Number: [Your Roll Number] % Question: Data Science Laboratory -% Time: 30 minutes + % Write your solution below this line +%} diff --git a/members_selection_test/MATLAB questions/Question_2_Space_Mission_Control.m b/members_selection_test/MATLAB_Questions/Q2_Space_Mission_Control.m similarity index 98% rename from members_selection_test/MATLAB questions/Question_2_Space_Mission_Control.m rename to members_selection_test/MATLAB_Questions/Q2_Space_Mission_Control.m index 186e064..4638a8a 100644 --- a/members_selection_test/MATLAB questions/Question_2_Space_Mission_Control.m +++ b/members_selection_test/MATLAB_Questions/Q2_Space_Mission_Control.m @@ -87,7 +87,7 @@ 📁 SUBMISSION INSTRUCTIONS: ========================== - Create a new MATLAB file named "Space_Mission_[YourName].m" -- Save your solution in the "Submissions" folder +- Save your solution in your personal folder inside the "Submissions" folder - Do NOT modify this question file - Include your name and roll number as comments at the top of your solution file @@ -104,3 +104,4 @@ % Time: 30 minutes % Write your solution below this line +%} diff --git a/members_selection_test/python questions/Question_1_Prime_Number_Detective.py b/members_selection_test/Python_Questions/Q1_Prime_Number_Detective.py similarity index 98% rename from members_selection_test/python questions/Question_1_Prime_Number_Detective.py rename to members_selection_test/Python_Questions/Q1_Prime_Number_Detective.py index 1a0cde7..b6cabc9 100644 --- a/members_selection_test/python questions/Question_1_Prime_Number_Detective.py +++ b/members_selection_test/Python_Questions/Q1_Prime_Number_Detective.py @@ -95,7 +95,7 @@ 📁 SUBMISSION INSTRUCTIONS: ========================== - Create a new Python file named "Prime_Detective_[YourName].py" -- Save your solution in the "Submissions" folder +- Save your solution in your personal folder inside the "Submissions" folder - Do NOT modify this question file - Include your name and roll number as comments at the top of your solution file diff --git a/members_selection_test/python questions/Question_2_Palindrome_Portal.py b/members_selection_test/Python_Questions/Q2_Palindrome_Portal.py similarity index 98% rename from members_selection_test/python questions/Question_2_Palindrome_Portal.py rename to members_selection_test/Python_Questions/Q2_Palindrome_Portal.py index 9a5dbb4..6dc70f5 100644 --- a/members_selection_test/python questions/Question_2_Palindrome_Portal.py +++ b/members_selection_test/Python_Questions/Q2_Palindrome_Portal.py @@ -109,7 +109,7 @@ 📁 SUBMISSION INSTRUCTIONS: ========================== - Create a new Python file named "Palindrome_Portal_[YourName].py" -- Save your solution in the "Submissions" folder +- Save your solution in your personal folder inside the "Submissions" folder - Do NOT modify this question file - Include your name and roll number as comments at the top of your solution file diff --git a/members_selection_test/README.md b/members_selection_test/README.md index a242254..b5c9b8e 100644 --- a/members_selection_test/README.md +++ b/members_selection_test/README.md @@ -213,15 +213,6 @@ git push origin solutions-YOUR_NAME -## ⏰ Time Management Tips - -### Recommended Schedule (2 hours total): -- **Minutes 0-5**: Set up GitHub and clone repository -- **Minutes 5-35**: Python Question 1 (30 minutes) -- **Minutes 35-65**: Python Question 2 (30 minutes) -- **Minutes 65-95**: MATLAB Question 1 (30 minutes) -- **Minutes 95-115**: MATLAB Question 2 (20 minutes) -- **Minutes 115-120**: Create pull request and submit (5 minutes) ### Pro Tips: - ✅ **Start with the language you're more comfortable with** diff --git a/members_selection_test/Submissions/Tejas mishra/Prime_Detective_Tejas_mishra.py b/members_selection_test/Submissions/Tejas mishra/Prime_Detective_Tejas_mishra.py new file mode 100644 index 0000000..04a76c5 --- /dev/null +++ b/members_selection_test/Submissions/Tejas mishra/Prime_Detective_Tejas_mishra.py @@ -0,0 +1,21 @@ +def is_prime(number): + if number < 2: + return False + for i in range(2, int(number ** 0.5) + 1): + if number % i == 0: + return False + return True + +# input +try: + num = int(input(" Input ")) + if num == 1: + print("1 is not a prime number. Regular security is sufficient.") + elif num < 1: + print(" Please enter a number greater than 0.") + elif is_prime(num): + print(f"{num} is a prime number. Extra security needed.") + else: + print(f"{num} is not a prime number. Regular security is sufficient.") +except ValueError: + print(" Invalid input. Please enter a valid integer.")