Free Full-Stack Development Sample Questions and Answers — Questions and Answers
Question 1: What else do you do while changing classes in TFS?
- In toyour 'backlog'
- Add an empty migration with sql Scripts
- Install typescript for vs and node.js
- Check to code repository by 'Checking In' (Correct answer)
Correct answer: Check to code repository by 'Checking In'
In version control systems like TFS (Team Foundation Server), 'checking in' or 'committing' is the process of saving your local code changes to the shared repository. This action makes your modifications, such as changing classes, available to other team members and creates a new version of the code. It ensures that all changes are tracked, synchronized, and properly managed within the project.
Question 2: What document controls configuration?
- project.json
- tsconfig.json (Correct answer)
- typings.json
- typings, shms
Correct answer: tsconfig.json
`tsconfig.json` is a configuration file specifically used in TypeScript projects. It specifies the root files and the compiler options required to compile the project, including how TypeScript files are transpiled into JavaScript. This file is crucial for controlling various aspects of the TypeScript compilation process and project structure.
Question 3: Describe Bootstrap
- An iteration or sprint
- You add a migration
- A CSS framework for responsive design (Correct answer)
Correct answer: A CSS framework for responsive design
Bootstrap is a widely used, open-source front-end framework that provides pre-written HTML, CSS, and JavaScript components. Its main purpose is to simplify and accelerate the development of responsive, mobile-first websites and web applications. It offers a consistent design and layout that adapts seamlessly across various devices and screen sizes.
Question 4: What procedure do you use to add attributes to class properties?
- Code First
- Data Annotations (Correct answer)
- Fluent Api
- The Backlog
Correct answer: Data Annotations
Data Annotations are attributes that can be applied directly to class properties in C# (and other .NET languages) to add metadata. These annotations define validation rules, display formatting, and database mapping instructions. They provide a declarative and concise way to configure how data is handled, validated, and presented within an application, especially in frameworks like Entity Framework.
Question 5: Which class manages UserRoles?
- Identityuser classes
- Data annotations
- An iteration or sprint
- An iteration or sprint (Correct answer)
Correct answer: An iteration or sprint
The question asks for a 'class' that manages UserRoles, which in software development typically refers to a specific programming construct (e.g., `IdentityRoleManager` in ASP.NET Identity). However, 'An iteration or sprint' is a term from Agile project management, defining a fixed period for development work. While tasks related to user roles might be planned and executed *during* a sprint, the sprint itself is not a technical 'class' responsible for managing user roles. Therefore, this answer is contextually incorrect for the question as posed.
Question 6: How do you register or load scripts in Angular.js?
- The backlog
- Add an empty migration with sql scripts
- In the script tag use System.config (Correct answer)
- Install typescript for vs and Node.js
Correct answer: In the script tag use System.config
In older Angular.js (Angular 1.x) or early Angular (Angular 2+ before Webpack became standard), `System.config` was used with SystemJS to load and manage modules and scripts. This configuration allowed developers to define how different modules were loaded and their dependencies resolved. It ensured all necessary scripts were available and properly ordered for the application to run correctly.
Question 7: In TFS, where are used cases kept?
- The Backlog (Correct answer)
- The Rate
- The Scrum
- The Sprints
Correct answer: The Backlog
In Agile project management, particularly within tools like TFS (now Azure DevOps), the 'backlog' is a prioritized list of all the features, requirements, enhancements, and bug fixes for a product. User stories and use cases, which describe desired functionalities from the user's perspective, are typically kept and managed within this product backlog. It serves as the single source of truth for all work to be done.
What else do you do while changing classes in TFS?