Friday, 31 July 2026

Privacy Policy for Zenith Fitness

 Effective Date: August 01, 2026

Zenith Fitness ("we," "us," or "our") is committed to protecting your privacy. This Privacy Policy explains how we collect, use, and safeguard your information when you use our mobile application, Zenith Fitness (the "App").

1. Information Collection and Use

To provide our health and fitness services, we may collect the following types of information:

•User-Provided Information: When you use our BMI Calculator or Workout Planner, you may voluntarily provide data such as age, gender, weight, height, fitness goals, and available equipment.

•Purpose: This data is used exclusively within the App to calculate your BMI results and generate personalized workout routines.

•Storage: This information is stored locally on your device. We do not upload your personal health metrics to our servers.


2. Third-Party Services and Data Collection

The App uses third-party services that may collect information used to identify you and provide specific functionalities:

•Google Play Services: Used for core app functionality and updates.

•Google AdMob: We display advertisements (Banner, Interstitial, and Rewarded ads). AdMob may collect and use your device's Advertising ID to serve personalized ads based on your interests. You can opt-out of interest-based ads in your Android device settings.

    Google AdMob Privacy Policy

3. Permissions

The App requests the following permissions to function correctly:

•Internet & Network State: Required to load health guides, tips, and advertisements.

•Post Notifications: Used to send you optional workout reminders if you enable them in the settings.

4. Children’s Privacy

Zenith Fitness includes features to calculate BMI for children and adolescents.

•We do not knowingly collect or share personal information from children under the age of 13.

•Any data entered for a child (age, height, weight) is processed locally on the device and is not transmitted to us or any third party (except as required by AdMob for ad-serving purposes, which complies with COPPA regulations).

5. Data Security

We value your trust in providing us your information. We use industry-standard security measures to protect the data stored locally on your device. However, please remember that no method of electronic storage is 100% secure.

6. Changes to This Privacy Policy

We may update our Privacy Policy from time to time. You are advised to review this page periodically for any changes. We will notify you of any changes by posting the new Privacy Policy on this page.

7. Contact Us

If you have any questions or suggestions about our Privacy Policy, please contact us at: Email: suyalyamini@gmail.com

Saturday, 16 March 2024

Privacy Policy for facebook

 

Privacy Policy 

This Privacy Policy is prepared for HealthApp and we are committed to protecting and preserving the privacy of our visitors when visiting our site or communicating electronically with us.

This policy sets out how we process any personal data we collect from you or that you provide to us through our website and social media sites. We confirm that we will keep your information secure and comply fully with all applicable India Data Protection legislation and regulations. Please read the following carefully to understand what happens to personal data that you choose to provide to us, or that we collect from you when you visit our sites. By submitting information you are accepting and consenting to the practices described in this policy.

Types of information we may collect from you

We may collect, store and use the following kinds of personal information about individuals who visit and use our website and social media sites:

Information you supply to us. You may supply us with information about you by filling in forms on our website or social media. This includes information you provide when you submit a contact/inquiry form. The information you give us may include but is not limited to, your name, address, e-mail address, and phone number.

How we may use the information we collect

We use the information in the following ways:

Information you supply to us. We will use this information:

  • to provide you with information and/or services that you request from us;

  • To contact you to provide the information requested.

Disclosure of your information

Any information you provide to us will either be emailed directly to us or may be stored on a secure server.

We do not rent, sell or share personal information about you with other people or non-affiliated companies.

We will use all reasonable efforts to ensure that your personal data is not disclosed to regional/national institutions and authorities unless required by law or other regulations.

Unfortunately, the transmission of information via the internet is not completely secure. Although we will do our best to protect your personal data, we cannot guarantee the security of your data transmitted to our site; any transmission is at your own risk. Once we have received your information, we will use strict procedures and security features to try to prevent unauthorized access.

Your rights – access to your personal data

You have the right to ensure that your personal data is being processed lawfully (“Subject Access Right”). Your subject access right can be exercised in accordance with data protection laws and regulations. Any subject access request must be made in writing to csj2011.13@gmail.com We will provide your personal data to you within the statutory time frames. To enable us to trace any of your personal data that we may be holding, we may need to request further information from you. If you complain about how we have used your information, you have the right to complain to the Information Commissioner’s Office (ICO).

Changes to our privacy policy

Any changes we may make to our privacy policy in the future will be posted on this page and, where appropriate, notified to you by e-mail. Please check back frequently to see any updates or changes to our privacy policy.

Contact

Questions, comments, and requests regarding this privacy policy are welcomed and should be addressed to csj2011.13@gmail.com


Tuesday, 27 February 2024

WebdriverIO

How do you launch a browser in WebDriverIO?
What are selectors in WebDriverIO, and what are some types of selectors?
What is an implicit wait in WebDriverIO, and how is it useful?

What is the difference between getText() and getValue() in WebDriverIO

How do you perform drag and drop actions in WebDriverIO

What is the difference between waitForEnabled() and waitForDisplayed() in WebDriverIO

How do you handle alerts and pop-ups in WebDriverIO

What are the benefits of using the Page Object Model (POM) in WebDriverIO?


 

What is a custom command in WebDriverIO, and how do you create one

What is a hook in WebDriverIO, and mention types of hooks?

How do you take screenshots in WebDriverIO
How do you interact with iframes in WebDriverIO

What is the difference between browser.url() and browser.navigateTo() in WebDriverIO

How do you interact with a select dropdown in WebDriverIO?

How do you interact with a file input element in WebDriverIO

What is the difference between waitForExist() and waitForDisplayed() in WebDriverIO?

How do you scroll to an element in WebDriverIO?

How do you interact with cookies in WebDriverIO?

How do you simulate keyboard events in WebDriverIO?

How do you run tests in parallel using WebDriverIO?

How do you run tests on multiple browsers using WebDriverIO

What is WebDriverIO?

WebDriverIO is a Node.js library that provides a WebDriver API implementation for web automation. It allows you to automate interactions with web browsers using JavaScript.
How do you install WebDriverIO?

You can install WebDriverIO using npm (Node Package Manager) by running npm install webdriverio.
Explain the difference between synchronous and asynchronous execution in WebDriverIO.

In synchronous execution, commands are executed sequentially, one after the other. In asynchronous execution, commands are executed concurrently, allowing for non-blocking execution of tasks.
What is the purpose of a WebDriverIO configuration file (wdio.conf.js)?

The wdio.conf.js file is used to configure WebDriverIO settings such as browser capabilities, test framework, reporter options, etc.
How do you launch a browser in WebDriverIO?

You can launch a browser in WebDriverIO by configuring the wdio.conf.js file with the desired browser capabilities.
Explain the concept of page objects in WebDriverIO.

Page objects are design patterns used to represent web pages as objects in WebDriverIO tests. They encapsulate the interaction with the elements on a web page, making tests more maintainable and readable.
How do you locate elements using WebDriverIO?

You can locate elements using various selectors such as CSS selector, XPath, ID, class name, tag name, etc., using the $ and $$ functions.
What are the different types of selectors supported in WebDriverIO?

Supported selectors include CSS selector, XPath, ID, class name, tag name, name, link text, and partial link text selectors.
How do you handle asynchronous tasks in WebDriverIO?

Asynchronous tasks in WebDriverIO can be handled using promises, async/await, or WebDriverIO's built-in asynchronous methods.
What is the purpose of the browser object in WebDriverIO?

The browser object in WebDriverIO represents the current browser session and is used to interact with the browser and perform actions such as navigating to URLs, executing JavaScript, etc.
How do you perform actions such as click, type, and clear using WebDriverIO?

Actions such as click, type (input), and clear can be performed using WebDriverIO's element methods like click(), setValue(), and clearValue().
Explain the concept of implicit and explicit waits in WebDriverIO.

Implicit waits wait for a specified amount of time before throwing an exception if an element is not found, while explicit waits wait until a certain condition is met before proceeding with the execution.
What is the purpose of the waitUntil method in WebDriverIO?

The waitUntil method is used to wait until a specified condition is met before proceeding with the execution of the test.
How do you handle alerts and pop-ups in WebDriverIO?

Alerts and pop-ups can be handled using WebDriverIO's alertAccept(), alertDismiss(), and switchToWindow() methods.
Explain the concept of WebDriverIO commands chaining.

WebDriverIO commands chaining allows you to chain multiple commands together in a single statement for concise and readable code.
How do you perform assertions in WebDriverIO?

Assertions can be performed using assertion libraries like chai or using WebDriverIO's built-in assertion methods like expect, should, or assert.
What is the purpose of the browser.url method in WebDriverIO?

The browser.url method is used to navigate to a specified URL in the current browser session.
How do you execute JavaScript code in WebDriverIO?

JavaScript code can be executed using WebDriverIO's execute or executeAsync methods.
Explain the concept of hooks in WebDriverIO.

Hooks in WebDriverIO allow you to run setup and teardown code before and after test suites or individual test cases.
How do you run tests in parallel using WebDriverIO?

Tests can be run in parallel using WebDriverIO's built-in parallel execution capabilities by configuring the maxInstances option in the wdio.conf.js file.

What is the difference between synchronous and asynchronous commands in WebDriverIO?

Synchronous commands are executed one after another in a sequential manner, while asynchronous commands are non-blocking and allow the execution of multiple commands concurrently.
Explain the concept of command chaining in WebDriverIO.

Command chaining in WebDriverIO allows you to chain multiple commands together in a single statement, improving code readability and maintainability.
How do you handle synchronization issues in WebDriverIO?

Synchronization issues can be handled in WebDriverIO using implicit waits, explicit waits, or by using the waitUntil method to wait for specific conditions to be met before proceeding with the execution.
What are the benefits of using page objects in WebDriverIO?

Page objects help in improving code maintainability, reusability, and readability by encapsulating the interaction with web elements on a page within separate classes.
How do you handle dynamic elements in WebDriverIO?

Dynamic elements in WebDriverIO can be handled using explicit waits or by waiting for specific conditions to be met before interacting with the elements.
Explain the concept of data-driven testing in WebDriverIO.

Data-driven testing in WebDriverIO involves executing the same test scenario with multiple sets of test data to validate different application behaviors.
How do you manage test suites and test cases in WebDriverIO?

Test suites and test cases can be managed in WebDriverIO by organizing them into separate files and directories and using test runner configurations to specify which tests to execute.
What are hooks in WebDriverIO, and how do you use them?

Hooks in WebDriverIO are special functions that allow you to run setup and teardown code before and after test suites or individual test cases. They can be used to perform actions like setting up test data, opening a browser session, etc.
Explain the concept of parallel execution in WebDriverIO.

Parallel execution in WebDriverIO involves running multiple test suites or test cases concurrently across multiple browser instances, speeding up the overall test execution process.
How do you handle browser sessions in WebDriverIO?

Browser sessions in WebDriverIO can be managed using the browser object, which allows you to open, close, switch between browser windows, and perform other browser-related actions.
What is the purpose of the execute and executeAsync methods in WebDriverIO?

The execute method in WebDriverIO is used to execute synchronous JavaScript code in the context of the currently selected frame or window, while executeAsync is used to execute asynchronous JavaScript code.
How do you perform cross-browser testing in WebDriverIO?

Cross-browser testing in WebDriverIO involves configuring the capabilities option in the wdio.conf.js file to specify the desired browser environments and running the tests using the WebDriverIO test runner.
What is the purpose of the browser.waitUntil method in WebDriverIO?

The browser.waitUntil method in WebDriverIO is used to wait until a specified condition is met before proceeding with the test execution.
How do you handle alerts and pop-ups in WebDriverIO?

Alerts and pop-ups in WebDriverIO can be handled using the alertAccept, alertDismiss, and switchToWindow methods provided by WebDriverIO.
What are the advantages of using WebDriverIO over other automation frameworks?

WebDriverIO offers a rich set of features, excellent community support, seamless integration with other tools and frameworks, and a simple and easy-to-use API, making it a preferred choice for web automation testing.
How do you capture screenshots and videos during test execution in WebDriverIO?

Screenshots and videos can be captured during test execution in WebDriverIO using the built-in capabilities provided by WebDriverIO or by using third-party plugins and integrations.
What is the purpose of the browser.addCommand method in WebDriverIO?

The browser.addCommand method in WebDriverIO is used to extend the capabilities of the browser object by adding custom commands or methods.
How do you handle file uploads in WebDriverIO?

File uploads in WebDriverIO can be handled using the setValue method to set the file path for the file input element, or by using third-party libraries or plugins for more complex scenarios.
Explain the concept of test data management in WebDriverIO.

Test data management in WebDriverIO involves managing and organizing test data effectively, including storing, retrieving, and using test data in tests and test suites.
What are some best practices for writing efficient and maintainable WebDriverIO tests?

Some best practices for writing WebDriverIO tests include using page objects, implementing proper synchronization, organizing tests into logical test suites, using descriptive test names, and handling test data effectively.

Explain how WebDriverIO handles parallel execution of tests.

WebDriverIO supports parallel execution of tests by utilizing the maxInstances option in the wdio.conf.js configuration file. This option specifies the maximum number of instances of the WebDriverIO client (browser sessions) that can run in parallel. Each test suite or spec file can be assigned to run on a specific instance, enabling parallel execution across multiple browser instances simultaneously.
How do you implement retries for failed tests in WebDriverIO?

Retries for failed tests can be implemented in WebDriverIO by using the retry option in the wdio.conf.js configuration file. This option allows you to specify the number of retries for each test that fails, providing robustness in test execution and improving test reliability.
Explain the concept of WebDriverIO's Testrunner.

WebDriverIO's Testrunner is a command-line interface (CLI) tool that is used to run WebDriverIO tests. It provides various features such as parallel execution, test reporting, test suite organization, and configuration management through the wdio.conf.js configuration file.
How do you handle authentication pop-ups in WebDriverIO?

Authentication pop-ups can be handled in WebDriverIO by using browser-level commands such as switchToFrame to switch to the pop-up window and sendKeys to enter credentials. Additionally, you can use browser capabilities such as credentials to pass authentication credentials directly in the browser's capabilities.
Explain the purpose and usage of custom commands in WebDriverIO.

Custom commands in WebDriverIO are user-defined functions that extend the capabilities of the browser and element objects. They are defined using the browser.addCommand and element.addCommand methods and can be used to encapsulate complex logic or repetitive tasks, improving code maintainability and readability.
How do you handle iframes in WebDriverIO?

Iframes in WebDriverIO can be handled using the switchToFrame method to switch to the iframe context before interacting with elements inside it. You can switch to an iframe by index, name, or ID, perform actions on elements inside the iframe, and switch back to the default content using switchToParentFrame.
Explain the concept of browser capabilities in WebDriverIO.

Browser capabilities in WebDriverIO are key-value pairs that define the desired behavior and configuration of the browser session. They are specified in the capabilities option of the wdio.conf.js configuration file and include settings such as browser name, version, platform, and other specific configurations.
How do you handle file downloads in WebDriverIO?

File downloads in WebDriverIO can be handled using browser-specific capabilities such as prefs for Chrome or profile for Firefox to configure download settings. Additionally, you can use WebDriverIO's execute method to execute JavaScript code to handle file download dialogs and manage downloaded files using file system operations.
Explain the usage of the executeAsync method in WebDriverIO.

The executeAsync method in WebDriverIO is used to execute asynchronous JavaScript code in the context of the current browser session. It is commonly used to perform asynchronous operations such as waiting for elements or executing asynchronous tasks that cannot be handled synchronously.
How do you handle dynamic content or elements that are loaded asynchronously in WebDriverIO?

Dynamic content or elements that are loaded asynchronously in WebDriverIO can be handled using explicit waits or by waiting for specific conditions to be met before interacting with the elements. WebDriverIO provides methods such as waitForDisplayed, waitForExist, and waitUntil to wait for elements to be present, visible, or meet specific conditions before proceeding with the test execution.
Explain the concept of test configuration management in WebDriverIO.

Test configuration management in WebDriverIO involves managing test configuration settings such as browser capabilities, test data, environment configurations, and other settings in a centralized configuration file (wdio.conf.js). It allows for easy configuration and customization of test execution behavior across different environments and scenarios.
How do you handle multi-window or multi-tab scenarios in WebDriverIO?

Multi-window or multi-tab scenarios in WebDriverIO can be handled using WebDriverIO's switchToWindow method to switch between different browser windows or tabs. You can switch to a specific window or tab by window handle, index, or title, perform actions on elements within the window or tab, and switch back to the default window or tab using switchToParentWindow.
Explain how to implement logging and reporting in WebDriverIO.

Logging and reporting in WebDriverIO can be implemented using various plugins and reporters such as wdio-spec-reporter, wdio-html-reporter, or custom reporters. These plugins provide capabilities for logging test execution details, generating detailed test reports with screenshots, and integrating with continuous integration (CI) tools for reporting test results.
How do you handle browser-specific behaviors or settings in WebDriverIO?

Browser-specific behaviors or settings in WebDriverIO can be handled using browser capabilities and options specific to each browser. WebDriverIO provides a wide range of browser capabilities and options that can be configured in the capabilities section of the wdio.conf.js configuration file to customize the behavior of the browser session.
Explain the concept of browser automation using WebDriverIO.

Browser automation using WebDriverIO involves automating interactions with web browsers to simulate user actions such as clicking buttons, entering text, navigating between pages, and validating page content. WebDriverIO provides a rich set of APIs and commands for interacting with browsers and performing various actions to automate web testing and validation.
How do you handle browser cookies and local storage in WebDriverIO?

Browser cookies and local storage in WebDriverIO can be handled using browser-specific commands such as getCookies, setCookies, clearCookies, getLocalStorage, setLocalStorage, and clearLocalStorage provided by WebDriverIO to manage cookies and local storage data in the browser session.
Explain the purpose and usage of the executeScript method in WebDriverIO.

The executeScript method in WebDriverIO is used to execute synchronous JavaScript code in the context of the current browser session. It is commonly used to perform JavaScript-based operations such as manipulating DOM elements, retrieving data, or executing custom scripts within the browser environment.
How do you handle cross-origin requests or interactions in WebDriverIO?

Cross-origin requests or interactions in WebDriverIO can be handled using browser-specific capabilities and options such as --disable-web-security for Chrome or --disable-site-isolation-trials for Firefox to disable web security features and allow cross-origin requests or interactions during test execution.
Explain how to implement data-driven testing using external data sources in WebDriverIO.

Data-driven testing using external data sources in WebDriverIO involves loading test data from external sources such as JSON files, CSV files, Excel spreadsheets, or databases and using that data to drive test execution. WebDriverIO provides APIs and methods for reading data from external sources and passing it to test cases for parameterization and data-driven testing.
How do you handle network requests and responses in WebDriverIO for API testing?

Network requests and responses in WebDriverIO for API testing can be handled using third-party libraries such as axios, request, or WebDriverIO's built-in request module to send HTTP requests, capture responses, and perform assertions on API responses. Additionally, you can use browser automation techniques to simulate API interactions using browser sessions and analyze network traffic using browser developer tools or proxy servers.

Tuesday, 20 February 2024

Privacy policy for DB questions

   Effective Date: 20 Feb 2024

1. Introduction :  This Privacy Policy outlines how we collect, use, disclose, and safeguard your personal information when you use our Android application ("App"). By accessing or using the App, you agree to the terms and practices described in this Privacy Policy. If you do not agree with our policies and practices, please do not use the App.

2. Information We Collect : -

2.1. Personal Information: We do not collect any personal information from you directly. However, we may collect non-personal information such as device information (e.g., device type, operating system, unique device identifier), and usage data (e.g., pages visited, interactions within the App).

2.2. User-Generated Content: The App allows you to submit questions and answers. Any content you submit will be stored on your local device. 

3. How We Use Your Information -We may use non-personal information for analytical purposes, to monitor and analyze usage patterns and trends in order to improve the App's performance and user experience.

4. Sharing of Information : -

4.1. We do not sell, trade, or rent your personal information to third parties.

4.2. User-generated content may be shared within the App to provide a collaborative learning experience. This content will not be shared externally without your explicit consent, except as required by law.

5. Data Security - We implement reasonable security measures to protect your personal information from unauthorized access, alteration, disclosure, or destruction. As we are not storing/asking any personal information

    We reserve the right to modify this Privacy Policy at any time. Any changes will be effective immediately upon posting the updated Privacy Policy.

Wednesday, 14 February 2024

API 2

 

https://www.blogger.com/blog/post/edit/695939364463034111/8924884184314606966


Question: How do you handle scenarios where the API returns unexpected content types?
Answer: RestAssured allows you to validate unexpected content types using the contentType() method.

import static io.restassured.RestAssured.*;

public class UnexpectedContentTypeHandlingExample {
    public static void main(String[] args) {
        baseURI = "https://api.example.com";

        given()
            .get("/resource")
        .then()
            .contentType("text/plain"); // Validates if the response content type is "text/plain"
    }
}

Question: How do you handle scenarios where the API returns unexpected HTTP status codes?
Answer: RestAssured allows you to validate unexpected HTTP status codes using the not() method. 

import static io.restassured.RestAssured.*;

public class UnexpectedStatusCodeHandlingExample {
    public static void main(String[] args) {
        baseURI = "https://api.example.com";

        given()
            .get("/resource")
        .then()
            .statusCode(not(404)); // Validates if the response status code is not 404
    }
}

Question: How do you handle exceptions such as connection timeouts in RestAssured tests?
Answer: You can handle connection timeouts by setting a timeout duration using the timeout() method. Additionally, you can catch the java.net.SocketTimeoutException exception.

import static io.restassured.RestAssured.*;

public class ConnectionTimeoutHandlingExample {
    public static void main(String[] args) {
        baseURI = "https://api.example.com";

        try {
            given()
                .get("/resource")
                .timeout(5000) // Set a timeout of 5 seconds
            .then()
                .statusCode(200);
        } catch (java.net.SocketTimeoutException e) {
            // Handle timeout exception
            System.out.println("Connection timed out.");
        }
    }
}

Question: How do you handle exceptions such as invalid SSL certificates in RestAssured tests?
Answer: You can handle invalid SSL certificates by disabling SSL certificate validation using the relaxedHTTPSValidation() method.


 
import static io.restassured.RestAssured.*;

public class InvalidSSLCertificateHandlingExample {
    public static void main(String[] args) {
        baseURI = "https://api.example.com";

        given()
            .relaxedHTTPSValidation()
            .get("/resource")
        .then()
            .statusCode(200);
    }
}

Question: How do you handle exceptions such as resource not found errors in RestAssured tests?
Answer: You can handle resource not found errors by expecting specific error responses using the expect() method.

import static io.restassured.RestAssured.*;

public class ResourceNotFoundErrorHandlingExample {
    public static void main(String[] args) {
        baseURI = "https://api.example.com";

        given()
            .get("/nonexistent-resource")
        .then()
            .statusCode(404)
            .statusLine("HTTP/1.1 404 Not Found");
    }
}

Question: How do you handle exceptions such as JSON parsing errors in RestAssured tests?
Answer: You can handle JSON parsing errors by expecting specific error responses or by catching the io.restassured.path.json.exception.JsonPathException exception.

import static io.restassured.RestAssured.*;

public class JsonParsingErrorHandlingExample {
    public static void main(String[] args) {
        baseURI = "https://api.example.com";

        try {
            given()
                .get("/malformed-json-resource")
            .then()
                .statusCode(200)
                .extract().jsonPath();
        } catch (io.restassured.path.json.exception.JsonPathException e) {
            // Handle JSON parsing error
            System.out.println("JSON parsing error occurred.");
        }
    }
}
Question: How do you handle exceptions such as server errors (5xx) in RestAssured tests?
Answer: You can handle server errors by expecting specific error responses using the expect() method. 
import static io.restassured.RestAssured.*;

public class ServerErrorHandlingExample {
    public static void main(String[] args) {
        baseURI = "https://api.example.com";

        given()
            .get("/error-endpoint")
        .then()
            .statusCode(500)
            .statusLine("HTTP/1.1 500 Internal Server Error");
    }
}

Thursday, 1 February 2024

Questions

 What is the parent class of Alert 

Why interfaces are used?

Why static block is used

DROP vs DELETE vs TRUNCATE

DDL vs DML


How do you execute only the failed Test cases

 Any other way than IRetryAnalyzer, is there a way to achieve the above

second highest element without sorting

Find duplicate in array program

You are given an integer 'N'. For a given 'N' x 'N' chessboard, find a way to place 'N' queens such that no queen can attack any other queen on the chessboard. A queen can be killed when it lies in the same row, or same column, or the same diagonal of any of the other queens. You have to print all such configurations.


You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to return the list of all pairs of elements such that each sum of elements of each pair equals 'S'.


Minimum Number of Platform Needed

You are given the arrival and departure times of N trains at a railway station in a day. You need to find the minimum of platforms required for the railway station such that no train waits i.e No train should wait for the platform to be clear or free.


Q1. Design Question

“Rent a Ride”  As a customer to Rent a Ride you book a cab. We charge you as per the distance covered. We charge 8rs/km. The moment you click the button to RIDE, we search for the nearby drivers who will accept your ride. Suppose there are 15 drivers near your location, then we send the request to the first driver who is closest to you, then the second, and so on. There are a few conditions though, based on which we can not send the request to the nearby driver.

Condition 1: If the driver rating is lower than 4. (out of 5)

Condition 2: If you selected a specific car, and that car driver is not the closest one. In case there is no driver present as per your request for the car, we will ask you to select some other car. A table was given having drivers, cars model, their ratings, and distance from the customer, and using this data we have to provide the most appropriate car to the customer, with the calculated fare


Sort the list of a given array of strings


Maximum number of repeating characters in a string


Fail-safe and fail-fast iterator?


Top tourist place and their attraction points in world

  

 There are many top tourist places around the world, each with their own unique attractions. Here are some examples:

1. Paris, France - Eiffel Tower, Louvre Museum, Notre-Dame Cathedral, Champs-Élysées, Montmartre.


2. New York City, USA - Statue of Liberty, Central Park, Empire State Building, Times Square, Broadway.


3. Tokyo, Japan - Tokyo Tower, Tsukiji Fish Market, Sensoji Temple, Meiji Shrine, Shinjuku Gyoen National Garden.


4. Bali, Indonesia - Kuta Beach, Tanah Lot Temple, Uluwatu Temple, Ubud Monkey Forest, Tirta Empul Temple.


5. Rome, Italy - Colosseum, Vatican City, Pantheon, Trevi Fountain, Roman Forum.


6. Cape Town, South Africa - Table Mountain, Robben Island, Kirstenbosch National Botanical Garden, Victoria and Alfred Waterfront, Cape of Good Hope.


7. Rio de Janeiro, Brazil - Christ the Redeemer, Sugarloaf Mountain, Copacabana Beach, Maracanã Stadium, Tijuca National Park.


8. Sydney, Australia - Sydney Opera House, Sydney Harbour Bridge, Bondi Beach, Royal Botanic Garden, Taronga Zoo.


9. Machu Picchu, Peru - Incan ruins, Huayna Picchu, Temple of the Sun, Temple of the Moon, Inca Bridge.


10. Dubai, United Arab Emirates - Burj Khalifa, Dubai Mall, Dubai Fountain, Palm Jumeirah, Dubai Miracle Garden.


These are just a few examples of the many top tourist places around the world and the attractions they offer.

Featured

Software Testing

Question: What is software testing, and why is it important? Answer: Software testing is the process of evaluating a software application to...

popular