Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save kellatirupathi/3981c920f3fea8600630ca975190cfd2 to your computer and use it in GitHub Desktop.

Select an option

Save kellatirupathi/3981c920f3fea8600630ca975190cfd2 to your computer and use it in GitHub Desktop.
Transcript for transcript_1NhwFDQylFu-uL5qrsOb0Hx9cQxCGUeWr_1_1920_5f8512026e32_14.txt
[00:00:05] Hello.
[00:00:06] Hi, Srinivas.
[00:00:07] Hi, Srinivas.
[00:00:09] Can you turn on your camera?
[00:00:15] Okay.
[00:00:24] Hi, Srinivas.
[00:00:24] Can you please introduce yourself?
[00:00:27] Yes, sir.
[00:00:28] My name is Srinivas.
[00:00:30] I completed my B.Tech in Computer Science and Engineering in Geetham University from Vishakhapatnam.
[00:00:40] So I recently completed a web developer intern at Golamut Technology.
[00:00:44] It's a six-month internship where I developed a human resources management project, which was developed using React.js and Node.js.
[00:00:55] So during this internship,
[00:00:59] this internship gained experience on Anson and how to implement the
[00:01:09] NPM packages and JW authentication token and coming to my technical skills HTML CSS Tailwind CSS
[00:01:19] JavaScript, Python, and framework React.js, Node.js, PostgreSQL, SQL, and MongoDB.
[00:01:30] for database.
[00:01:31] I'm also certified in AWS Cloud Architecture and Foundation for understanding deep scalable deployment of the application.
[00:01:42] And that's all about me.
[00:01:46] Okay, so are you familiar with both backend and backend?
[00:01:51] Yes, sir.
[00:01:52] Okay.
[00:01:54] So what is JavaScript?
[00:01:58] JavaScript?
[00:02:00] Yes.
[00:02:03] JavaScript is a programming language that is mainly used for web applications.
[00:02:08] So it can run in the browser and make the web page interact to like handling buttons and click or updating the content.
[00:02:19] And it can
[00:02:21] it can use for HTML and CSS for dynamic web application on real-time website.
[00:02:33] Okay.
[00:02:34] Is JavaScript a synchronous language or asynchronous language?
[00:02:39] Synchronous or asynchronous?
[00:02:45] First of all, JavaScript is a single thread, sir.
[00:02:47] By default, it can run synchronously.
[00:02:50] So line by line execution.
[00:02:53] So, but also supports synchronous operation like for timeouts and promises like and also a synchronous and wait.
[00:03:04] Mm-hmm.
[00:03:04] Sure.
[00:03:07] How it is able to handle these asynchronous operations?
[00:03:12] Since it is a synchronous language.
[00:03:25] Incarnação, por exemplo.
[00:03:30] How JavaScript handles asynchronous operations?
[00:03:34] First of all, JavaScript can run one time at a time.
[00:03:40] So it can upload tasks like API calls or timers to the browser.
[00:03:47] For node.js integration.
[00:03:49] So this talk can run it to background by finishing and then send the result to JavaScript using the callback time promise.
[00:04:03] Are you reading?
[00:04:04] No, sir, not at all.
[00:04:07] Okay.
[00:04:10] So, what is this async and await is used for?
[00:04:14] Sir?
[00:04:15] Async and await is used for what?
[00:04:18] Async and await is used for callbacks and return the promise.
[00:04:25] So, inside an async function, so the function until the promise is resolved.
[00:04:37] Promise and Dossip will pass the function until the promise is resolved.
[00:04:43] Let's go for fetching the data and the server.
[00:04:50] What is event loop?
[00:04:53] Event loop.
[00:04:56] Sir, event loop is used for clicking the buttons and typing and form handling.
[00:05:05] So like events are also some systems like timers or network responses.
[00:05:16] What are closures?
[00:05:24] So, closures are useful for creating the private variables.
[00:05:28] So, in that function, we can keep some hidden data from the outside.
[00:05:34] So, we can return in literal characters, symbols.
[00:05:47] What is hosting?
[00:05:49] Hosting is a function, sir.
[00:05:52] Hosting that the variable and the function declaration take top before the execution of the code.
[00:06:07] So what is the difference between let where and const?
[00:06:10] Let the environment.
[00:06:12] Where where have the functional scope and can be re-declared and let have only block of scope.
[00:06:20] So cannot be re-declared.
[00:06:25] What about the const?
[00:06:28] Const can be assigned the values when declared, but cannot be reassigned.
[00:06:36] Having the block code, similar to let.
[00:06:45] So it is pretty similar to let then why they created const?
[00:06:49] No, I mean it follows the same rule.
[00:06:53] Okay, tell me the difference between let const.
[00:06:58] Let's have the block code where const also block code but let cannot be re-declared.
[00:07:06] So, const cannot also redeclare, but it assigns the value.
[00:07:12] Const assigns the value.
[00:07:16] No, I understand your point.
[00:07:18] Just tell me what is the difference.
[00:07:20] Just tell me one difference.
[00:07:22] That's it.
[00:07:23] Sir, it cannot be re-declared in the same scope.
[00:07:26] For let.
[00:07:27] For let.
[00:07:28] Okay.
[00:07:31] It can be re-declared after the, you know, to the next block.
[00:07:35] Is it possible?
[00:07:38] No, sir.
[00:07:40] What about const?
[00:07:42] Const must be assigned value and when declared, sir.
[00:07:46] And cannot be reassigned.
[00:07:50] So you're saying everything on the same way.
[00:07:57] Okay.
[00:07:58] No issues.
[00:08:01] What are higher order functions?
[00:08:03] Order functions?
[00:08:05] Yeah.
[00:08:09] I think it's our RM method.
[00:08:14] Order functions like map filter, I don't have idea on this question.
[00:08:24] Okay.
[00:08:27] I'll share you one code snippet.
[00:08:29] Just tell me how.
[00:08:30] Okay.
[00:08:32] Before that, I'll ask one question.
[00:08:35] What is the difference between pure and impure functions?
[00:08:38] Pure and impure functions?
[00:08:40] Yeah.
[00:08:49] Pure functions might give different output from the same input.
[00:08:56] Like sometimes outside itself like updating a global variable or modifying that outside.
[00:09:03] So where pure function may be predictable or easy to test.
[00:09:10] Like interacting the thing ROM and database or API.
[00:09:27] Can you give one example for pure and impure function?
[00:09:31] Pure and impure.
[00:09:46] So, when we, when the function, like passing the same argument, like it's written the same parameter for pure function.
[00:09:55] So, like impure, inside the function, we can change the
[00:10:00] We can change like updating the values like counter function.
[00:10:06] It's called impure.
[00:10:18] Can you please tell me the output for that code?
[00:10:21] Should I run this?
[00:10:22] No, no, no.
[00:10:23] You are not allowed to.
[00:10:25] Just tell me the output.
[00:10:31] Can you share your screen?
[00:10:49] Hello?
[00:10:58] Yeah.
[00:10:59] Now tell me the output for that.
[00:11:16] So here, const is a declare function and inside is a statement.
[00:11:25] So, a inside a new variable is declared.
[00:11:32] So, console.log a is insert the block.
[00:11:36] So, it print 20.
[00:11:39] Again in the inner so outer again outer again outer again outer 10
[00:11:49] So, 20 and 10.
[00:11:51] 20 and 10.
[00:11:54] Oh, yeah.
[00:12:00] Another snippet.
[00:12:21] Tell me this output.
[00:12:40] This is also declared one.
[00:12:53] This is already redeclaring the same block code.
[00:12:56] This is not allowed to.
[00:12:59] So this will get a sync error.
[00:13:04] Can you tell me like what type of error and what is the rule that this comes to have?
[00:13:16] I did not get through.
[00:13:20] I'm seeing.
[00:13:21] So why it will get error?
[00:13:23] Can you just tell me and tell me the what type of error that we will get here?
[00:13:29] Okay.
[00:13:35] I don't know.
[00:13:41] Rara.
[00:13:45] It's having same block, so I think it's a problem.
[00:13:50] Okay.
[00:13:54] Trovare la scrittura.
[00:14:03] Are you sure?
[00:14:04] Sir?
[00:14:05] Are you sure?
[00:14:06] Yes, sir.
[00:14:08] Okay.
[00:14:29] What is Node.js?
[00:14:31] Sir?
[00:14:32] Node.js.
[00:14:32] What is Node.js?
[00:14:34] Node.js.
[00:14:35] Node.js is a runtime.
[00:14:39] Node.js is a framework for runtime environment outside the browser.
[00:14:46] So it's built on V8 engine.
[00:14:53] So we can build a server using JavaScript.
[00:14:57] We can handle the request to like API handling and other real-time applications.
[00:15:08] Handling the database.
[00:15:13] Okay.
[00:15:14] So I'll just give you one more question, but just tell me what is the output here.
[00:15:30] You can't do this.
[00:15:33] You know,
[00:15:39] Yes.
[00:15:48] You know right what is pre increment or post increment?
[00:15:52] You know this thing pre increment post increment?
[00:15:56] Yes sir like similar to counter application.
[00:16:03] If you know those concepts, you can able to answer this question.
[00:16:19] The output is well sir how sir first first bit two is the post increment so the fear up to here the answer is six
[00:16:35] so thereafter it plus one seven so this is pre-increment this will become the 12.
[00:16:46] Yeah okay
[00:16:49] Yeah.
[00:17:00] It's half pasted one last time.
[00:17:03] Just tell me the short version.
[00:17:05] We can go as a other.
[00:17:10] See you.
[00:17:24] So this is I think undefended because the test there is a local so it will return undefended.
[00:17:39] Explain what how it is undefended.
[00:17:44] The global A is not accessible.
[00:17:47] Where?
[00:17:49] Inside the function.
[00:17:52] Okay.
[00:17:54] Due to which operation it is?
[00:17:58] Due to which operation it is?
[00:18:00] Same undefined over there.
[00:18:03] Undefined due to which which operation like there is a one concept but this one console.log yeah yeah i understand but there is a one concept over me so if you just
[00:18:18] tell me like due to what it is throwing undefined
[00:18:23] Okay, let's say it is undefined, right?
[00:18:26] Okay.
[00:18:27] Can you just replace where with let?
[00:18:30] Sir, this is not following the hosting concept.
[00:18:36] It is not?
[00:18:39] It's not following the hosting concept.
[00:18:42] Okay, I'll get back to you that question later.
[00:18:47] Just tell me replace where with let.
[00:18:50] Okay.
[00:18:53] Tell me the output.
[00:18:56] Where with let?
[00:18:57] Yeah, both variables.
[00:19:00] A is equal to 10, A is equal to 20.
[00:19:03] Just assume that where is a let.
[00:19:07] Just tell me what is the output.
[00:19:17] Sir, this is, left variables are not accessible, sir.
[00:19:20] Before the declaration of the function.
[00:19:24] Just tell me though.
[00:19:28] I think this is the referencer.
[00:19:30] This will throw referencer because inside the let function, it's return.
[00:19:41] Okay.
[00:19:46] What is the react?
[00:19:50] React is a framework.
[00:19:53] It's used for creating the user interface.
[00:20:00] user interface application so it can be created using the reusable concept and also follow the norm like passing data from parents to child
[00:20:15] So we can create the applications like dashboard counter weather application.
[00:20:22] And also this can be developed, it is developed by the developed or maintained by the Google or sorry, Google, not Facebook, Facebook, developed by Facebook, Meta.
[00:20:35] Okay.
[00:20:37] So.
[00:20:40] How this react is more efficient than other frameworks?
[00:20:49] I think coming to Nihil, I think
[00:20:56] And he react to have the virtual answer.
[00:21:01] It can be developed using concept based component based help.
[00:21:07] Okay.
[00:21:08] So coming to normal dynamic HTML.
[00:21:12] So with the component.
[00:21:15] Okay.
[00:21:16] Developed on basic document.
[00:21:21] So where it.
[00:21:26] Where we can react easy to handle the debug.
[00:21:30] Handle the debug.
[00:21:33] How?
[00:21:35] Coming to normal basic HTML and CSS, it has the one way of the flow.
[00:21:42] Like from parent to child, we have passing the data to components.
[00:21:47] Okay.
[00:21:52] Okay what is the difference between virtual dom and real dom virtual dom is the real copy of the actual dom in the html text
[00:22:02] so when when we update some dom so it will re-render re-render it's a lightweight copy okay lightweight copy i understand what it will do
[00:22:17] or what it will do.
[00:22:20] What?
[00:22:21] See, virtual DOM, you said virtual DOM is a lightweight copy of real DOM.
[00:22:26] What is the use of it?
[00:22:28] When something we changed in there, so virtual DOM won't directly won't render on or you are directly won't update.
[00:22:38] So it's past real DOM.
[00:22:43] Then how it will update?
[00:22:46] How it will update?
[00:22:51] See, let's say I have changed one element.
[00:22:55] Okay.
[00:22:56] Let's say there is a counter app.
[00:22:59] Okay.
[00:23:00] I'm clicking the button.
[00:23:01] So the count will change.
[00:23:04] How virtual DOM and real DOM is interacting here?
[00:23:07] Just tell me that.
[00:23:14] First of all, React create a virtual dump.
[00:23:21] So it will compare the previous data and the current data.
[00:23:28] After comparing what it will do?
[00:23:29] After comparing, so if any change came, so it will update the whole page and re-render.
[00:23:44] It will re-render?
[00:23:46] It will re-render whole page or how?
[00:23:51] Real term updated part only updated it will update but it will update it will render what only particular component particular component
[00:24:09] Are you sure?
[00:24:10] No, sir.
[00:24:11] Only interrupt.
[00:24:12] Interrupt.
[00:24:14] Interrupt.
[00:24:17] Okay.
[00:24:20] Water hooks.
[00:24:21] Sir, water hooks.
[00:24:24] Hooks having used it and
[00:24:29] cook cook react cook and use it so cook cook is a functional component sir okay
[00:24:40] coming to use that for updating the component and for use effect is for no no no just tell me what is hook why they introduced the hooks yeah why they introduced the hooks
[00:24:56] hook is for life cycle of the function i can see
[00:25:02] You are not looking at the camera first.
[00:25:05] Okay.
[00:25:05] And when I will ask the questions?
[00:25:08] Sir, I can show.
[00:25:09] I don't see.
[00:25:10] I can show.
[00:25:13] I can show entire room, sir.
[00:25:14] No one is there.
[00:25:15] You can show.
[00:25:16] But what I am saying, whenever you are answering, you should look at the camera.
[00:25:19] Okay.
[00:25:20] You are continuously looking down on your same answers.
[00:25:23] Okay.
[00:25:24] See here, I'm not here.
[00:25:25] Like I have other things also.
[00:25:28] I took time to, you know, interview, right?
[00:25:32] So please don't waste my time and don't waste your time also.
[00:25:37] Okay.
[00:25:37] Please look at the camera and answer this.
[00:25:39] Thanks.
[00:25:40] Okay.
[00:25:43] Tell me the difference between class component and functional component.
[00:25:47] Class component use the use class component use the for only class component use the classes.
[00:25:59] So where functional component can use use that like who.
[00:26:04] So in class component, we can use the state method and in functional component, we can use the state method.
[00:26:13] So I know the method for class component is component did mount.
[00:26:18] Okay, what is the lifecycle methods in functional?
[00:26:22] Lifecycle method.
[00:26:25] Lifecycle methods in class components are component did mount, component did update and component will unmount.
[00:26:34] Okay.
[00:26:35] Like is the lifecycle methods are available in functional components?
[00:26:40] No, sir.
[00:26:41] I think we use the use effect.
[00:26:45] Okay.
[00:26:48] So just tell me some of the optimized hooks available in React.
[00:26:53] Sir?
[00:26:54] Optimized hooks.
[00:26:56] Optimized hooks.
[00:26:57] Yeah.
[00:27:06] I know one only sir.
[00:27:08] I think use the.
[00:27:08] Okay.
[00:27:09] Tell me.
[00:27:10] Use the.
[00:27:11] Use.
[00:27:12] Reduce sir.
[00:27:15] Use reduce is not optimized.
[00:27:18] No sir.
[00:27:18] I know this.
[00:27:19] Okay.
[00:27:19] No worries.
[00:27:20] So what is express?
[00:27:23] Sir express.
[00:27:24] Yeah.
[00:27:25] Express is a web server for node.js.
[00:27:32] It can handle the HTTP request and middleware functions.
[00:27:38] Any other use cases that we have?
[00:27:42] Any other things apart from this?
[00:27:45] Apart from this easily handle backend logic okay
[00:27:54] so what is the package.json file the package.json
[00:28:00] it's used for main file like handling the all node models of the dependency like project library okay it has the name version and like author
[00:28:15] and script like how to start the project okay
[00:28:27] So what is the difference between NPM and Yarn?
[00:28:31] NPM and Yarn are both not packing, I pack in manager for JavaScript.
[00:28:38] So I especially use, I did not use Yarn set, but I use NPM only.
[00:28:44] So I don't know about Yarn, more I don't know.
[00:28:47] Okay, okay.
[00:28:51] Tell me some of the popular N10 packages that you have used in your projects.
[00:28:59] Apart from Express.
[00:29:01] Apart from Express?
[00:29:02] Yeah.
[00:29:03] Cross for handling request cross or the N10?
[00:29:09] For backend and .env for sensitivity, environment variable and JWT token for handling the request
[00:29:21] and response for secure authorized user.
[00:29:28] Richard for react react Richard for graph I give up for fetching the API data
[00:29:46] Okay, no, I see.
[00:29:48] Node mailer for sending the mail.
[00:29:51] Melt to the user.
[00:29:53] Okay.
[00:29:55] So just one last question from me.
[00:29:57] Okay.
[00:30:00] Me, like, have you ever eaten this mulder?
[00:30:04] Mulder for handling the files.
[00:30:08] Yeah, yes.
[00:30:09] Can you tell me how it will handle the file for backend?
[00:30:14] I think Mulder, I did not use, but Mulder used the local...
[00:30:25] But I know I don't know.
[00:30:28] Okay.
[00:30:28] Like, I know that's all.
[00:30:33] Okay, so thank you for your time.
[00:30:35] Yeah.
[00:30:37] We'll update regarding your interview.
[00:30:40] Okay.
[00:30:41] Bye.
[00:30:42] Bye.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment