Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

SDE Assignment

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 8

Frugal Testing SDE

Your Trusted Testing and DevOps Partner

Logical Thinking
and SDE
Frugal Testing SDE

Section B:
All questions below are mandatory to answer.

2 Read through the blogs of Frugal Testing:


a.Tell us which you find most valuable?
Ans: UI Automation Testing: It can help testers design stable and reliable automation frameworks.
The blog lists 20 best practices that cover various aspects of UI test automation, such as tool
selection,test design, test naming, test data, test execution, and test reporting.
The blog also provides examples and explanations for each best practice, as well as
some benefits and challenges of UI test automation.
This blog aims to help testers improve their UI test automation skills and avoid common risk that can
make UI test automation hard and ineffective.

b. Any functional bugs you are able to find?


Ans: No I can not found any bugs.

3. Any knowledge about AWS?


Ans: A cloud computing platform offering a wide range of on-demand services for computing, storage,
networking, database, analytics, machine learning, and artificial intelligence.
It provides infrastructure as a service (IaaS), platform as a service (PaaS), and software as a service
(SaaS) offerings. Highly scalable and reliable, with a global network of data centers.

4. Tell us that how do you compare below products:


a. Blazemeter
i. Key Features:
 Performance testing and load testing for web applications.
 Integration with popular continuous integration and delivery (CI/CD) tools.
 Real-time reporting and analytics.
 Scalable and cloud-based testing platform.
ii. Strengths:
 Integration capabilities with various development and testing tools.
 Support for large-scale and distributed testing.
iii. Considerations:
 Pricing may be a factor for some users.

b. OctoPerf
i. Key Features:
 Load testing for web and mobile applications.
 Scriptless test design and dynamic infrastructure scaling.
 Real-time monitoring and reporting.
Frugal Testing SDE

 Collaboration features for team-based testing.

c. Loader.io
i. Key Features:
 Cloud-based load testing platform.
 Simple and easy-to-use interface.
 Real-time results and analytics.
 Integration with other tools through API.

Please compare by doing following activities:


d. Reading online forums
 Online forums are community-driven platforms where users can discuss various topics, share experiences,
and ask questions.
 Forums provide a diverse range of opinions, experiences, and insights from different individuals who may
have encountered similar issues or have expertise in a particular subject.
 Users can engage in discussions, ask for advice, and contribute to the community's knowledge base.
e. Reading websites
 Websites typically offer more structured and organized information compared to forums. They can be
official sources, educational platforms, or reputable publications.
 Websites are often created and maintained by experts or organizations, providing reliable and authoritative
information.
 Content on websites is usually well-researched, and it may include articles, blog posts, research papers, or
other types of informative content.
f. Running sample tests on respective platforms
 This activity involves hands-on experience with specific platforms or tools, allowing individuals to test
functionalities, explore features, and gain practical insights.
 Sample tests help users understand the platform's capabilities, user interface, and performance in a real-
world scenario.
 Running sample tests is particularly useful for evaluating the suitability of a platform for specific tasks,
projects, or learning objectives.

5 .What are the top reasons why you get HTTP 500 errors?
Ans: An HTTP 500 Internal Server Error is a generic error message indicating that something has gone wrong
on the server's end, preventing it from fulfilling the request. Here are some of the top reasons why you
might encounter HTTP 500 errors:
i. Programming Errors
ii. Server Configuration Issues
iii. Resource Limitations
iv. Database Issues
v. Third-Party Services
vi. Server Overload
Frugal Testing SDE

vii. Security Issues

6. Any interesting programming projects you have done? Please share, if you have any “Summary Report”
in hand
Ans: Our team undertook a project to develop a classification model which
succesfully solves the ambiguity of categorising news articles. We also worked
on Extractive text summarization algorithm that can effectively summarize large
volumes of text documents while retaining the most important information and
main points. We studied and compared three different text processing techniques:
frequency-based approach, TF-IDF, and Text Rank. Through a series of
experiments and analysis, we found that Text Rank outperformed the other two
techniques in terms of accuracy and efficiency. Text Rank leverages a graph-
based approach to identify the most important sentences and phrases in a
document and assemble them into a coherent summary.
In conclusion, our project demonstrates that Text Rank is an effective and
reliable technique for extractive text summarization. Our findings suggest that
text summarization can be further improved by combining different techniques
and leveraging advanced machine learning algorithms. We believe that our
project has important implications for various applications, such as news articles,
legal documents, and business reports.
Future Scope of the project could focus on exploring other algorithms and
techniques for text summarization, such as abstractive summarization or deep
learning-based approaches, to further improve the performance and accuracy of
the summarization process.

7 . Which programming language are you most comfortable and why?


Ans: C++, Because it supports both procedural and object-oriented programming paradigms, offering
developers flexibility in designing and structuring their code.
C++ allows for low-level memory manipulation and provides features like pointers, which can lead to
highly optimized and efficient code. This makes it suitable for performance-critical applications.

8. Any product, which you think has been built in the most scalable architecture and explain more details
about it?
9. Why are JSON objects being used in REST based architecture?
JSON in RESTful APIs: JSON objects are widely used in RESTful APIs because they are:-
Lightweight and easy to parse: JSON data is human-readable and can be easily exchanged between
different programming languages and platforms.
Flexible and versatile: JSON objects can represent complex data structures with nested arrays and
objects, making them suitable for representing various API responses and resources.
Standardized format: JSON is a well-established and widely supported format, ensuring compatibility
across different tools and libraries.
Frugal Testing SDE

10. Please share links of any articles you have written?

11. Please share your LinkedIn profile.


https://www.linkedin.com/in/vishwa-ranjan-267b87217/

12. Please share your GitHub profile

13. List down programming and any puzzle solving sites you use, if any.

14. What is your dream job?


Ans: My dream job is working in a big company where I can apply my knowledge and skills to solve real-
world problems. Also, I can grow and develop in a long term. I have a strong interest in this role at
your company because I believe my skills and qualities are a good match. I have a strong learning
ability and a can-do attitude. I truly believe this role is my dream job.

15. What is lacking in the present education system?


Ans- The present education system faces several challenges that hinder its effectiveness in preparing
students for the 21st century.
a.Overemphasis on rote learning: Traditional education often prioritizes memorization and regurgitation of facts
over critical thinking, problem-solving, and creativity. This rote learning approach fails to equip students with the
skills needed to analyze information, adapt to change, and innovate.
b.Lack of real-world relevance: Much of the curriculum taught in schools feels disconnected from the real world.
Students may struggle to see the practical applications of what they learn, leading to disengagement and a sense
of irrelevance.
c.Inadequate focus on soft skills: The education system often neglects the development of essential soft skills
like communication, collaboration, teamwork, and emotional intelligence. These skills are crucial for success in
any field, yet they are often not explicitly taught or assessed.
d. Limited access to quality education: Educational opportunities are not equally distributed, with students from
disadvantaged backgrounds facing barriers to accessing quality education. This perpetuates social inequalities
and limits the potential of individuals and communities.
e.Rigid and outdated teaching methods: Traditional teacher-centered approaches often fail to cater to diverse
learning styles and needs. Rigid curriculums and standardized testing can stifle creativity and discourage
independent learning.
f. Inadequate teacher training and support: Teachers play a crucial role in shaping the educational experience,
yet they often lack adequate training and support. This can lead to low morale, burnout, and ultimately, a decline
in the quality of education.

16. Please write an article on any ONE of the below topics


(500-1500 words, no plagiarism, better to use some graphics)
----What is SQL injection and how to prevent it?
Frugal Testing SDE

Ans- A database is like a well-organized library, with each book containing specialized information under
a unique identity. As the librarian's helper, SQL (Structured Query Language) enables us to look for, get, and
work with data inside the library. An SQL injection attack might be compared to a sly burglar who bribes the
library to provide them access to unapproved books or even to change the books' contents.

The assailant takes advantage of weaknesses in online applications or APIs that communicate with databases.
Malicious SQL code can be injected into user input fields, such as login forms or search bars, to modify the
queries that are submitted to the database. This may have a number of disastrous outcomes:
Data theft: Attackers can steal sensitive information like usernames, passwords, credit card numbers, and even
confidential business data.
Data manipulation: They can modify, delete, or add data, potentially causing financial losses, reputational
damage, or even legal repercussions.
System takeover: In severe cases, attackers can gain complete control of the database server, compromising the
entire system.

How does SQL injection work?


There are several ways attackers can inject malicious SQL code, but some common techniques include:
Direct injection: This involves directly entering malicious code into a vulnerable input field, such as "' OR 1=1" in
a login form. This code bypasses authentication and grants the attacker access to the database.
Blind injection: When the injected code's outcome is not immediately visible, attackers utilize tactics such as
timing assaults to collect information and progressively reveal sensitive data.
Union injection: This method combines the attacker's malicious query with the valid query, taking advantage of
SQL's UNION operator to allow the attacker to get unauthorized data.

Defending against SQL Injection:


There are effective ways to defend against SQL injection attacks. The following are some crucial tactics:
Input Validation:- Validate user input before delivering it to the database at all times. This entails cleaning the
input to get rid of any possibly dangerous characters and making sure the format is what is intended.
Prepared Statements: Use prepared statements to stop malicious code from being injected. They precompile
the SQL query and bind variables to it.
Parameterized queries: Separate user input from the real SQL code so that it cannot interfere with the query
structure.
Firewalls for web applications: Install web application firewalls (WAFs) to stop attempts at malicious SQL
injection.
Awareness of security: In order to promote a culture of security, inform users and developers about SQL
injection and its risks.

Beyond the code: A shared responsibility


Combating SQL injection necessitates a multilayered strategy. Developers need to put strong security measures
in place and give priority to secure coding techniques. Security teams should implement the required
protections and continuously scan systems for vulnerabilities. By being careful where they submit their
information and reporting questionable activities, users may also play a part in this.
Frugal Testing SDE

By comprehending the nature of SQL injection and putting in place practical preventative measures, we can
create a more safe and reliable digital environment where data is safeguarded. Remember that the best defense
against the cunning SQL is constant observation and proactive security.

17 The following questions have no right or wrong answer. It is a basic measure to judge your
personality. Please exhibit integrity while answering the following. You need to choose only one option.

A: You are totally exhausted because your week was endless and less than great. How are you going to
spend your weekend? Answer: ____i)__

i.) I'll call my friends to ask about their plans. I heard that a new restaurant opened / a nice comedy is
playing in the cinemas / there are big discounts at the paintball club. We should all go out together.
ii.) I'll switch on the "Don't disturb" mode on my phone and stay at home. I'll watch a new episode of
my favourite TV show, do a puzzle, and take a long bath with a book.

B: Which of these 2 descriptions suits you more? Answer: __i____


i.) The most important thing for me is what's happening here and now. I assess real situations and pay
attention to details.
ii.) Facts are boring. I love to dream and play over upcoming events in my mind. I rely more on intuition
than information.

C: A competitor of your current employer is trying to entice you. You have doubts because the salary is
much higher there, but the staff here is great. Moreover, the head of your department hinted that he will
recommend you to the bosses when he retires. How are you going to make a decision? Answer: ___i___

i.) I'll continue with the same job as long as the manager retires by weighing up all the options.
ii.) I'll shift to my competitor because the remuneration is higher as compared to the current position.

D: Only 2 weeks are left before your close friends' wedding. How are the preparations going?
Answer: ___ii___

i.) One month ago, I chose the saxophonist who will play a medley of our school songs / collected the
couple's photo love story / composed a poem / pressed my suit / made appointments with the
stylist and makeup master. I prefer to be fully armed.
ii.) Why prepare? I'll be having fun and enjoying myself at the party. I'll improvise my wedding speech.
The best things happen spontaneously.
Frugal Testing SDE

You might also like