Interview Mocha2 open jobs

Full stack developer

Full-stackPosted 5 weeks agovia Himalayas, a remote job board

Work type
RemoteIn India
Experience
Not stated
Pay
Not listedUsually ₹6.7 LPAFull-stack, median, all levels, in India (Payscale)
Posted
5 weeks ago
Before you apply: make your resume fit this job

Skills it mentions

Add your skills to see which ones you have.

Interview questions for this job6 with answers below, on .NET, HTML and CSS, SQL and 3 more

About the job

  • Proven experience as a .NET Developer or Application Developer
  • Familiarity with the ASP.NET framework, SQL Server and design/architectural patterns (e.g. Model-View-Controller (MVC))
  • Knowledge of at least one of the .NET languages (e.g. C#, Visual Basic .NET) and HTML5/CSS3
  • Familiarity with architecture styles/APIs (REST, RPC)
  • Understanding of Agile methodologies
  • Excellent troubleshooting and communication skills
  • Attention to detail

BSc/BA in Computer Science, Engineering or a related field

  • Participate in requirements analysis
  • Collaborate with internal teams to produce software design and architecture
  • Write clean, scalable code using .NET programming languages
  • Test and deploy applications and systems
  • Revise, update, refactor and debug code
  • Improve existing software
  • Develop documentation throughout the software development life cycle (SDLC)
  • Serve as an expert on applications and provide technical support

Originally posted on Himalayas

Interested?Full stack developer at Interview Mocha

Apply on Himalayas (opens in a new tab)

The job ad ends here

Interview questions for this job6 with answers, on .NET, HTML and CSS, SQL and 3 more

Interview questions for this job

For the skills the ad mentions: .NET, HTML and CSS, SQL, C#, REST APIs and Agile.

430 questions
  • DateTime vs DateTimeOffset.NET

    DateTimeOffset is a representation of instantaneous time (also known as absolute time). By that, I mean a moment in time that is universal for everyone (not accounting for leap seconds, or the relativistic effects of time dilation). Another way to represent instantaneous time is with a DateTime where .Kind is DateTimeKind.Utc.

    This is distinct from calendar time (also known as civil time), which is a position on someone's calendar, and there are many different calendars all over the globe. We call these calendars time zones. Calendar time is represented by a DateTime where .Kind is DateTimeKind.Unspecified, or DateTimeKind.Local. And .Local is only meaningful in scenarios where you have an implied understanding of where the computer that is using the result is positioned. (For example, a user's workstation)

    So then, why DateTimeOffset instead of a UTC DateTime? It's all about perspective. Let's use an analogy - we'll pretend to be photographers.

    Imagine you are standing on a calendar timeline, pointing a camera at a person on the instantaneous timeline laid out in front of you. You line up your camera according to the rules of your timezone - which change periodically due to daylight saving time, or due to other changes to the legal definition of your time zone. (You don't have a steady hand, so your camera is shaky.)

    The person standing in the photo would see the angle at which your camera came from. If others were taking pictures, they could be from different angles. This is what the Offset part of the DateTimeOffset represents.

    So if you label your camera "Eastern Time", sometimes you are pointing from -5, and sometimes you are pointing from -4. There are cameras all over the world, all labeled different things, and all pointing at the same instantaneous timeline from different angles. Some of them are right next to (or on top of) each other, so just knowing the offset isn't enough to determine which timezone the time is related to.

    And what about UTC? Well, it's the one camera out there that is guaranteed to have a steady hand. It's on a tripod, firmly anchored into the ground. It's not going anywhere. We call its angle of perspective the zero offset.

    So - what does this analogy tell us? It provides some intuitive guidelines-

    Read the rest at the sourceFrom Stack Overflow: asked by David Reis, answered by Matt Johnson-Pint (CC BY-SA 4.0)

  • Why is it generally a good idea to position CSS <link>s between <head></head> and JS <script>s just before </body>? Do you know any exceptions?HTML and CSS

    Placing <link>s in the <head>

    Putting <link>s in the <head> is part of proper specification in building an optimized website. When a page first loads, HTML and CSS are being parsed simultaneously; HTML creates the DOM (Document Object Model) and CSS creates the CSSOM (CSS Object Model). Both are needed to create the visuals in a website, allowing for a quick "first meaningful paint" timing. This progressive rendering is a category optimization sites are measured in their performance scores. Putting stylesheets near the bottom of the document is what prohibits progressive rendering in many browsers. Some browsers block rendering to avoid having to repaint elements of the page if their styles change. The user is then stuck viewing a blank white page. Other times there can be flashes of unstyled content (FOUC), which show a webpage with no styling applied.

    Placing <script>s just before </body>

    <script> tags block HTML parsing while they are being downloaded and executed which can slow down your page. Placing the scripts at the bottom will allow the HTML to be parsed and displayed to the user first.

    An exception for positioning of <script>s at the bottom is when your script contains document.write(), but these days it's not a good practice to use document.write(). Also, placing <script>s at the bottom means that the browser cannot start downloading the scripts until the entire document is parsed. This ensures your code that needs to manipulate DOM elements will not throw an error and halt the entire script. If you need to put <script>s in the <head>, use the defer attribute, which will achieve the same effect of running the script only after the HTML is parsed but the browser can download the script earlier.

    Keep in mind that putting scripts just before the closing </body> tag will create the illusion that the page loads faster on an empty cache (since the scripts won't block downloading the rest of the document). However, if you have some code you want to run during page load, it will only start executing after the entire page has loaded. If you put those scripts in the <head> tag, they would start executing before - so on a primed cache the page would actually appear to load faster.

    <head> and <body> tags are now optional

    As per the HTML5 specification, certain HTML tags like <head> and <body> are optional. Google's style guide even recommends removing them to save bytes. However, this practice is still not widely adopted and the performance gain is likely to be minimal and for most sites it's not likely going to matter.

    From Front End Interview Handbook (MIT)

  • What is the difference between INNER JOIN and OUTER JOIN?SQL

    Assuming you're joining on columns with no duplicates, which is a very common case:

    • An inner join of A and B gives the result of A intersect B, i.e. the inner part of a Venn diagram intersection.

    • An outer join of A and B gives the results of A union B, i.e. the outer parts of a Venn diagram union.

    Examples

    Suppose you have two tables, with a single column each, and data as follows:

    A    B
    -    -
    1    3
    2    4
    3    5
    4    6
    

    Note that (1,2) are unique to A, (3,4) are common, and (5,6) are unique to B.

    Inner join

    An inner join using either of the equivalent queries gives the intersection of the two tables, i.e. the two rows they have in common.

    select * from a INNER JOIN b on a.a = b.b;
    select a.*, b.*  from a,b where a.a = b.b;
    a | b
    --+--
    3 | 3
    4 | 4
    

    Left outer join

    A left outer join will give all rows in A, plus any common rows in B.

    select * from a LEFT OUTER JOIN b on a.a = b.b;
    select a.*, b.*  from a,b where a.a = b.b(+);
    a |  b
    --+-----
    1 | null
    2 | null
    3 |    3
    4 |    4
    

    Right outer join

    A right outer join will give all rows in B, plus any common rows in A.

    select * from a RIGHT OUTER JOIN b on a.a = b.b;
    select a.*, b.*  from a,b where a.a(+) = b.b;
    a    |  b
    -----+----
    3    |  3
    4    |  4
    null |  5
    null |  6
    

    Full outer join

    A full outer join will give you the union of A and B, i.e. all the rows in A and all the rows in B. If something in A doesn't have a corresponding datum in B, then the B portion is null, and vice versa.

    select * from a FULL OUTER JOIN b on a.a = b.b;
     a   |  b
    -----+-----
       1 | null
       2 | null
       3 |    3
       4 |    4
    null |    6
    null |    5
    

    From Stack Overflow: asked by Chris de Vries, answered by Mark Harrison (CC BY-SA 4.0)

  • Should 'using' directives be inside or outside the namespace in C#?C#

    There is actually a (subtle) difference between the two. Imagine you have the following code in File1.cs:

    // File1.cs
    using System;
    namespace Outer.Inner
    {
        class Foo
        {
            static void Bar()
            {
                double d = Math.PI;
            }
        }
    }
    

    Now imagine that someone adds another file (File2.cs) to the project that looks like this:

    // File2.cs
    namespace Outer
    {
        class Math
        {
        }
    }
    

    The compiler searches Outer before looking at those using directives outside the namespace, so it finds Outer.Math instead of System.Math. Unfortunately (or perhaps fortunately?), Outer.Math has no PI member, so File1 is now broken.

    This changes if you put the using inside your namespace declaration, as follows:

    // File1b.cs
    namespace Outer.Inner
    {
        using System;
        class Foo
        {
            static void Bar()
            {
                double d = Math.PI;
            }
        }
    }
    

    Now the compiler searches System before searching Outer, finds System.Math, and all is well.

    Some would argue that Math might be a bad name for a user-defined class, since there's already one in System; the point here is just that there is a difference, and it affects the maintainability of your code.

    It's also interesting to note what happens if Foo is in namespace Outer, rather than Outer.Inner. In that case, adding Outer.Math in File2 breaks File1 regardless of where the using goes. This implies that the compiler searches the innermost enclosing namespace before it looks at any using directive.

    From Stack Overflow: asked by benPearce, answered by Charlie (CC BY-SA 3.0)

  • How http protocol work?REST APIs

    As a request-response protocol, HTTP gives users a way to interact with web resources such as HTML files by transmitting hypertext messages between clients and servers. HTTP clients generally use Transmission Control Protocol (TCP) connections to communicate with servers. Links

    • https://www.extrahop.com/resources/protocols/http/
    • https://www.quora.com/How-does-HTTP-work

    From Java interview (MIT)

  • Why do you want to work for us?Behavioural

    Employers want to see that you have a genuine interest in working for them by asking questions like:

    • what do you know about our company?
    • why do you think you're a good fit for our company?
    • why do you want to work for us?

    To prepare for questions about the employer, you need to research the company. You should look at their website and 'about us' pages to find out more about their products, services and values.

    Show what you've learned about the company throughout the interview.

    From National Careers Service: interview advice (Open Government Licence v3.0)

Similar jobs

More like this: Full-stack developer jobs in India (717) and Remote Full-stack developer jobs in India (215)