ServiceNow
BrandMuscle Interview Questions and Answers
Q1. How will you get the data in the table using js? what are the other ways to print the output? what is a block in js?
To get data in a table using js, you can use DOM manipulation methods like getElementById or querySelector. Other ways to print output include console.log and innerHTML. A block in js is a set of statements enclosed in curly braces.
Use getElementById or querySelector to get data in a table using js
Other ways to print output include console.log and innerHTML
A block in js is a set of statements enclosed in curly braces, used to group code together
Q2. How to solve the error in the code? what is scope? what are logical operators?
Scope refers to the visibility and accessibility of variables in a program. Logical operators are used to perform logical operations in code.
Scope in programming refers to where in the code a variable can be accessed. It can be global, local, or block scope.
To solve an error in the code, first identify the error message or behavior causing the issue. Then, debug the code by checking for syntax errors, logical errors, or runtime errors.
Logical operators in programming are used...read more
Q3. what are the different types of joins
Different types of joins include inner join, outer join, left join, and right join.
Inner join: Returns rows when there is a match in both tables
Outer join: Returns all rows when there is a match in one of the tables
Left join: Returns all rows from the left table and the matched rows from the right table
Right join: Returns all rows from the right table and the matched rows from the left table
Q4. how to find errors in log files in linux
Errors in log files in Linux can be found by searching for keywords, timestamps, and error codes.
Use 'grep' command to search for specific keywords or error codes in log files
Look for timestamps to identify when errors occurred
Check for any error messages or warnings that may indicate issues
Use 'tail' command to view the end of log files for recent errors
Consider using 'journalctl' command for system logs in systemd-based Linux distributions
Q5. how to tune a sql query?
Tuning a SQL query involves optimizing its performance by adjusting various factors.
Identify slow performing queries using tools like SQL Profiler or Execution Plan.
Optimize query structure by using appropriate indexes and avoiding unnecessary joins.
Consider rewriting the query to use more efficient techniques like subqueries or CTEs.
Update statistics on tables involved in the query to ensure accurate query execution plan.
Limit the result set by using WHERE clause effectively...read more
Q6. What is shell in linux?
Shell in Linux is a command-line interpreter that allows users to interact with the operating system by executing commands.
Shell is a program that takes commands from the keyboard and gives them to the operating system to perform.
It can also be used to automate tasks by writing scripts.
Common shells in Linux include Bash, Zsh, and Ksh.
Shell scripting allows users to write programs that can be executed by the shell.
Examples of shell commands include ls (list files), cd (change...read more
Interview Process at BrandMuscle
Top Technical Support Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month