Wednesday, December 28, 2022
Saturday, November 12, 2022
GraphQL React
TopicSubArea.tsx
import { ApolloClient, gql, InMemoryCache, useQuery } from "@apollo/client";
function learn()
{
}
const learn=function (){
}
const learn = () => {
//arrow function
}
learn = () => {
//arrow function
}
const learn = () => "Hellow";
Friday, November 4, 2022
VB.Net
Imports System.Data.SqlClient
Imports System.Configuration
Public Class Form1
Private Sub btnInsert_Click(sender As Object, e As EventArgs) Handles btnInsert.Click
Dim connectionString As String = ConfigurationManager.ConnectionStrings("MyConnectionString").ConnectionString
Dim name As String = txtName.Text ' Assuming you have a TextBox named txtName for the name input
Dim email As String = txtEmail.Text ' Assuming you have a TextBox named txtEmail for the email input
Using connection As New SqlConnection(connectionString)
connection.Open()
Dim insertQuery As String = "INSERT INTO YourTable (Name, Email) VALUES (@Name, @Email)" ' Replace with your table and column names
Using cmd As New SqlCommand(insertQuery, connection)
cmd.Parameters.AddWithValue("@Name", name)
cmd.Parameters.AddWithValue("@Email", email)
Dim rowsAffected As Integer = cmd.ExecuteNonQuery()
If rowsAffected > 0 Then
MessageBox.Show("Data inserted successfully.")
' Optionally, clear the input fields or perform other actions after successful insertion.
Else
MessageBox.Show("Data insertion failed.")
End If
End Using
End Using
End Sub
End Class
Wednesday, October 26, 2022
Monday, September 26, 2022
IQ
Orsted Interview Questions
Introduction |
Executive Summary Structure ● Name ● Graduated from, in what degree ● Total years of working experience ● Current role in what company ● What do you do at your current role ● Biggest strength ● Why are you looking out ● What interest you in this role To understand further about your experience ● Years of experience in Angular and .Net Core ● How many projects in Angular and .Net Core that are built from scratch? ● Could you explain about your current system design? (How does front end communicate with back end, how many layers of authentication, database used) ● How does the back end talk to the database? ● Are you familiar with Agile methodology? ● Are you involved in CI/CD? Devops? ● Where do you host your application? ● What do you do when you get stuck with a problem and you cannot solve it by yourself? ● Do you deal with stakeholders regularly? ● How do you explain technical requirements to non technical people? (Hint: Draw diagrams) |
Back End related questions |
● What is ORM (object relational mapping) ● What is .Net Core? ● Do you know what is the latest version of C#? ● Concept of cohesion and coupling ● 3 Probabilities of OOP (Encapsulation, inheritance, polymorphism) ● What is interface in C#? ● Can interface be inherited? ● How do you dispose method object in C#? ● What is dependency injection? ● What is delegate C#? ● What is reflection in C#? ● Difference between task and thread in C# ● C# Asynchronous Method ● Cross origin in C# ● What is an abstract class? ● Difference between local storage and session storage, cookies? How would you use |
each? |
Database |
● How do you present a large amount of data? Do you improve the API or Repository layers? ● Experience in Troubleshooting database - speed of loading data ● What are the steps to fine tune queries that were already provided? ● What is Stored Procedure and do you work on it? ● Do you have experience in updating / inserting functions in Stored Procedure? ● How do you ensure data consistency in a table? ● Experience in Transaction Query ● Indexing SQL |
Unit Testing |
● What is TDD and Unit Testing? ● How do you make a good unit test approach, what are the key measures? ● How do you simulate results from a unit test? ● How do you mock unit testing? ● What's your most used design patterns? |
Front End related questions |
Javascript ● Difference between variables in javascript ● Which method would you use if you want to remove the first item in the array ● Difference between double equal vs triple equal Angular ● How do you pass parent components to child components? ● How do you evoke the child component method to parent class? ● How do you share data between 2 child components without going through the parent component? ● How do you pass in a user token to APIs without the need to define every single API? How do you define once to ensure a token can pass through every API? ● How to achieve calling live data to the front end via API? ● Let’s say a Parent component has a CSS Class name, if you were to reuse the CSS Class in the child component and only want to overwrite 1 property, how do you do it without affecting the parent component? ● What is View Encapsulation? ● File upload component - If you would like to use the original template in another front end project, but you do not want to copy the same set of components, how do you do it? ● How do you handle your authentication of authorisation for each component and services where some allow access in page 1, some in page 2? |
Q&A Session |
Prepare a list of intelligent questions to ask the interviewers - ask about the company /
product / services / business model / team structure / culture/ future plans / expectations for
you and etc - anything that can't be easily Googled would be good questions.
Thursday, August 25, 2022
FileUploads
import { AgGridReact } from 'ag-grid-react';
Driving
https://youtube.com/shorts/5Ac2qZHrApU?si=_X-G7pJFHiZoD-s7 https://www.youtube.com/watch?v=f6pSsex87oU
-
ceac.state.gov purbachal sector 21, end of purbachal 300 ft road, just behind the new China Bangladesh Exhibition Center Project (New Ban...
-
PTE Free materials হুমাইরা https://www.bdword.com/english-to-bengali-dictionary-learn-3000-plus-common-words-a-page-1 https://www.bdword....