Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

SIKSHAPATH

SIKSHAPATH Logo SIKSHAPATH Logo

SIKSHAPATH Navigation

  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
Home/Comments/Page 7
  1. Asked: August 8, 2023In: Other

    NYT Connections Answer August 8

    ADMIN 2
    Best Answer
    ADMIN 2
    Added an answer on July 20, 2023 at 2:29 am
    This answer was edited.

    NYT Connections answer #58 of August 8, 2023 is: SUPERHEROES: BLACK WIDOW, BLADE, FLASH, STORM FISH: CHAR, EEL, PERCH, SHARK ARACHNIDS: MITE, SCORPION, SPIDER, TICK MTV SHOWS: CATFISH, CRIBS, JACKASS, STATE

    NYT Connections answer #58 of August 8, 2023 is:

    SUPERHEROES: BLACK WIDOW, BLADE, FLASH, STORM

    FISH: CHAR, EEL, PERCH, SHARK

    ARACHNIDS: MITE, SCORPION, SPIDER, TICK

    MTV SHOWS: CATFISH, CRIBS, JACKASS, STATE

    See less
      • 0
    • Share
      Share
      • Share on WhatsApp
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
  2. Asked: July 6, 2023In: Java

    Employee Management System

    I'M ADMIN
    I'M ADMIN
    Added an answer on July 6, 2023 at 1:34 pm

    Click Below link to download the file :

    Click Below link to download the file :

    See less
    Attachment

      • 0
    • Share
      Share
      • Share on WhatsApp
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
  3. Asked: April 18, 2023In: Other

    What are some free AI image generator from text?

    ADMIN 2
    Best Answer
    ADMIN 2
    Added an answer on April 18, 2023 at 9:32 pm

    Here is the free-to-use AI image generator list. 1. Midjourney, an innovative Text-to-Image AI tool, offers a unique way to create custom images using Discord. While it's not free, users can access a free trial to try out the platform's impressive AI image generation capabilities. 2. Blue Willow, anRead more

    Here is the free-to-use AI image generator list.

    1. Midjourney, an innovative Text-to-Image AI tool, offers a unique way to create custom images using Discord. While it’s not free, users can access a free trial to try out the platform’s impressive AI image generation capabilities.

    2. Blue Willow, another Discord-based AI image generator tool, provides users with a simple and effective way to create unique visuals using artificial intelligence. Check out their website at bluewillow.ai for more information.

    3. Microsoft’s Bing Image Creator, powered by Dall-E, offers users points to generate images quickly and easily. Visit their website at bing.com/create to try out the tool for yourself.

    4. Scribble Diffusion is an AI art generator that requires users to draw an image and then provide a prompt to generate a unique artwork. Check it out at scribblediffusion.com to see what you can create.

    5. Craiyon is a freemium-based AI image generator that allows users to generate images from a given prompt. While the free version may take some time, users can purchase the premium version for faster results. Visit craiyon.com for more information.

    6. Stablediffusion is an innovative online tool that uses advanced algorithms to generate abstract visuals that can be customized and shared.

    It’s just one of many AI image generators available, including Shutter Stock Image Generator, Artnblast AI, 2AI, FreeImage.AI, Enterpix, and Creative Fabrica SPARK ART.

    See less
      • 0
    • Share
      Share
      • Share on WhatsApp
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
  4. Asked: November 18, 2021In: Programming Language

    Define class EmailId with members, username, domainId and password. Define default and parameterized constructors. Accept values from the command line and create a date object. Throw user defined exceptions – “InvalidUsernameException” or “InvalidPasswordException” if the uaername and password are invalid. If the date is valid, display message “Valid Email Id”.

    I'M ADMIN
    I'M ADMIN
    Added an answer on February 19, 2023 at 1:00 pm

    Use Offline IDE like Sublime, VScode , IntelliJ to run this code.   package sikshapath; //create your own package import java.util.*; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Scanner; class EmailId { String domainID,username,password; EmailId() { domainIDRead more

    Use Offline IDE like Sublime, VScode , IntelliJ to run this code.

     

    package sikshapath; //create your own package
    import java.util.*;
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Scanner;
    
    class EmailId
    {
    
        String domainID,username,password;
    
        EmailId()
        {
            domainID="K7";
            username="K";
            password="constructc000";
        }
    
        EmailId(String user,String pass,String domID)
        {
            domainID=domID;
            username=user;
            password=pass;
        }
    
        public static void main(String[] args) {
            String user,pass, domID;
            int p=-1,up=-1,u=-1,d=-1;
    
            EmailId obj=new EmailId();
    
            Scanner sc= new Scanner(System.in);
            System.out.println("Enter username: ");
            user=sc.nextLine();
            System.out.println("\nEnter password: ");
            pass=sc.nextLine();
            System.out.println("\nEnter Domain ID: ");
            domID=sc.nextLine();
            System.out.println("Enter a date in dd/mm/yyyy format :");
            String date = sc.next();
    
            EmailId obj1=new EmailId(user,pass,domID);
    
            if((obj.username).equals(obj1.username))
            {
                u=1;
                if(obj.password.equals(obj1.password))
                {
                    up=1;
                }
                else
                {
                    p=0;
                }
            }
            else
            {
                u=0;
            }
    
            if(dateValidation(date)==true)
                d=1;
            else
                d=0;
    
            if(d==1)
            {
                if(u==0)
                {
    
                    try{
                        throw new InvalidUsernameException(user);
                    }
    
                    catch (Exception e) {
                        System.out.println(e) ;
                    }
                }
    
                if (p==0){
                    {
                        try{
    
                            throw new InvalidPasswordException(pass);
                        }
                        catch (Exception e) {
                            System.out.println(e) ;
                        }
                    }
                }
    
                if(up==1)
                {
                    System.out.println("Valid email id");
                }
            }
            else{
                System.out.println("Not a Valid email id");
            }
    
        }
    
        public static boolean dateValidation(String date)
        {
            boolean status = false;
    
            if (checkDate(date)) {
                DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
                dateFormat.setLenient(false);
                try {
                    dateFormat.parse(date);
                    status = true;
                } catch (Exception e) {
                    status = false;
                }
            }
            return status;
        }
    
        static boolean checkDate(String date) {
            String pattern = "(0?[1-9]|[12][0-9]|3[01])\\/(0?[1-9]|1[0-2])\\/([0-9]{4})";
            boolean flag = false;
            if (date.matches(pattern)) {
                flag = true;
            }
            return flag;
    
        }
    
    
    
    }
    
    class InvalidUsernameException extends Exception{
        String num1;
        InvalidUsernameException(String num2) {
            num1=num2;
        }
        public String toString(){
            return ("exception in thread ‘main’ InvalidUsernameException: Username: "+ num1 + " doesn’t match") ;
        }
    }
    
    class InvalidPasswordException extends Exception{
        String num1;
        InvalidPasswordException(String num2) {
            num1=num2;
        }
        public String toString(){
            return ("exception in thread ‘main’ InvalidPasswordException: Username: "+ num1 + " doesn’t match") ;
        }
    }
    See less
      • -2
    • Share
      Share
      • Share on WhatsApp
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
  5. Asked: February 13, 2023In: Internshala

    Data Science Internshala final test answer

    I'M ADMIN
    I'M ADMIN
    Added an answer on February 13, 2023 at 1:51 pm

    Get Internshala final test answers for all courses on SIKSHAPATH-STORE Like: Data science final test answer ( Link : DATA_SCIENCE ) Blockchain final test answer Internshala blockchain final test answer Matlab final test answer Ethical hacking final test answer Android app development final test answRead more

    Get Internshala final test answers for all courses on SIKSHAPATH-STORE

    Like:

    Data science final test answer ( Link : DATA_SCIENCE )

    Blockchain final test answer

    Internshala blockchain final test answer

    Matlab final test answer

    Ethical hacking final test answer

    Android app development final test answer Internshala

    Web development final test answer

    Cloud computing using AWS final test answer

    and many more.

    Just visit: https://store.sikshapath.in/store/ or CLICK HERE -> Sikshapath-Store

    See less
      • 0
    • Share
      Share
      • Share on WhatsApp
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
  6. Asked: October 23, 2022In: Data Structure

    Solve using fractional knapsack: M=20, n=4 P= (3, 10, 15, …

    58n25709
    58n25709
    Added an answer on January 30, 2023 at 10:13 am

    The fractional knapsack problem involves selecting items to fill a knapsack of limited capacity (M=20 in this case) in such a way as to maximize the total value. Here's how to solve it: Sort the items in decreasing order of their value per unit weight (i.e. Pi/Wi). Item 1: 3/5 = 0.6 Item 2: 10/13 =Read more

    The fractional knapsack problem involves selecting items to fill a knapsack of limited capacity (M=20 in this case) in such a way as to maximize the total value.

    Here’s how to solve it:

    1. Sort the items in decreasing order of their value per unit weight (i.e. Pi/Wi).
      • Item 1: 3/5 = 0.6
      • Item 2: 10/13 = 0.769
      • Item 3: 15/12 = 1.25
      • Item 4: 5/8 = 0.625
    2. Take the items in the order of the sorted list until the knapsack is full. If a complete item cannot fit, take a fraction of it.
      • Item 3 (15/12) can fit completely, so add it to the knapsack and reduce the capacity to 20-12=8.
      • Item 2 (10/13) can fit completely, so add it to the knapsack and reduce the capacity to 8-13= -5.
      • Item 1 (3/5) cannot fit completely, so add 3/5 of it to the knapsack and reduce the capacity to 0.
      • Item 4 (5/8) is not considered since the knapsack is full.
    3. The total value of the items in the knapsack is 15 + 10 + (3/5)*3 = 22.

    So the optimal solution is to choose items 3, 2 and a fraction of item 1, with a total value of 22.

    See less
      • 0
    • Share
      Share
      • Share on WhatsApp
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
1 … 5 6 7 8 9 … 194

Sidebar

store ads

Stats

  • Questions 1k
  • Answers 1k
  • Posts 149
  • Best Answers 89
  • This Free AI Tool Translates Entire Books in Minute !
  • AI News: 🎬 Hollywood’s AI Studios, 🎓 OpenAI’s Latest Gift to Educators, 🚚 Class8 Bags $22M, 🧠 Google Gemini’s Memory Upgrade
  • AI NEWS: Legal Action Against OpenAI, $16M Paid, & Elon Musk’s Praise from Investor 🤖💰📑 | AI Boosts Cloud Seeding for Water Security 🌱💧
  • AI News: 🎬AI Video Tool Scam Exposed🤯, 🛰️ AI-Powered Drones to Ukraine 😱, Google’s $20M AI Push, Sam Altman Joins SF’s Leadership Team
  • AI News: 🤝 Biden Meets Xi on AI Talks, 💡 Xavier Niel’s Advice for Europe, ♻️ Hong Kong’s Smart Bin Revolution, 🚀 AI x Huawei

Explore

  • Recent Questions
  • Questions For You
  • Answers With Time
  • Most Visited
  • New Questions
  • Recent Questions With Time

Footer

SIKSHAPATH

Helpful Links

  • Contact
  • Disclaimer
  • Privacy Policy Notice
  • TERMS OF USE
  • FAQs
  • Refund/Cancellation Policy
  • Delivery Policy for Sikshapath

Follow Us

© 2021-24 Sikshapath. All Rights Reserved