Recent

Thursday, January 6, 2022

January 06, 2022

LinkedIn Accounting Skill Assessment Quiz Answers

LinkedIn Accounting Skill Assessment Quiz Answers

Q1. Which statement is not an advantage of robotic process automation (RPA)?

  •  Bots are more creative than humans
  •  Bots do no need to take time off
  •  Bots improve efficiency
  •  Bots can eliminate human errors

Q2. What effect does a contra asset account have on a balance sheet?

  •  A contra asset is not an accounting term
  •  A contra asset has a credit balance and therefore a negative effect on total assets
  •  A contra asset with a positive balance will increase overall liabilities
  •  A contra asset has a debit balance and therefore a positive effect on total assets

Q3. Internal controls may be preventative, detective, corrective, or directive. Which is a detective control?
  •  data backups
  •  physical inventory check
  •  employee background checks
  •  physical locks on inventory warehouse

Q4. On March 15, a business receives an invoice from the power company for utilities used in February. The retailer pays the invoice on April 1. The business uses accrual-based accounting. Which month should the business recognize the expense?

  •  April
  •  March
  •  no record required
  •  February

Q5. Which choice is a general guideline for adequate separation of duties to prevent both fraud and error?

  •  A person who has control over an asset should not safeguard that asset.
  •  A person who has temporary or permanent custody of an asset should not account for that asset.
  •  A person who has record-keeping responsibility should not make journal entries.
  •  A person who has operational responsibility should not authorize transactions for the area.

Q6. What does the cost of a unit of product under absorption costing method consist of?

  •  direct materials, direct and indirect labor, and fixed overhead
  •  direct materials, indirect labor, and variable and fixed overhead
  •  direct materials, direct labor, and both variable and fixed overhead
  •  direct materials, direct and indirect labor, and variable overhead

Q7. Which answer best describes accruals and deferrals?

  •  Accruals are past cash receipts and payments, while deferrals are expected future cash receipts and payments.
  •  Both accruals and deferrals are both expected future cash receipts and payments.
  •  Accruals are expected future cash receipts and payments, while deferrals are past cash receipts and payments.
  •  Both accruals and deferrals are not expected past cash receipts and payments.

Q8. What do you call a situation where more than one person collaborates to circumvent existing internal controls?

  •  assigned responsibility
  •  segregation of duties
  •  fraud prevention
  •  collusion

Q9. Which is not an example of an internal control activity?

  •  review of manufacturing plan
  •  segregation of duties
  •  bank reconciliations
  •  approval process

Q10. Which budgeting approach request justification of all expenditures?

  •  zero-based budgeting
  •  master budgeting
  •  rolling budgets
  •  bottom-up budgeting

Q11. What does the discontinued operations section of the income statement refer to?

  •  disposal of a major product line or major geographical area of operations
  •  sale of unused or obsolete equipment and discontinued inventory
  •  a plant shutdown or decommissioning of a facility
  •  net income or loss for products completed and sold

Q12. How are the three financial statements (income, statement, balance sheet, and cash flow statement) linked?

  • Only the assets are reflected in the cash flow statement, and the net income expenses correlate with the liabilities.
  • The net income goes to retained earnings, but the cash flow remains independent.
  • The gross profit goes to retained earning, and the shareholder equity total is added to the cash flow statement
  • The net income goes to the retained earning and to the cash flow statement

Q13. Which is not one of the four perspectives of the balanced scorecard?

  •  internal business
  •  learning and growth
  •  quantitative
  •  customer

Q14. What would be deducted from the balance per books when doing a bank reconciliation?

  •  deposits in transit
  •  bank service fees
  •  outstating checks
  •  electronic fund transfers/payments

Q15. What situation could be the results of the three retails store employees sharing the same cash register?

  •  a thorough internal control activity
  •  a violation of assignment of responsibility
  •  a violation of segregation of duties
  •  a support process to avoid fraud

Q16. A firm has $1,000 in debt and $3,000 in assets. What is the firm's debt-to-equity ratio?

  •  3
  •  2
  •  0.5
  •  0.33

Q17. An external auditor is required to be independent when performing

  •  all attestation services
  •  all professional services
  •  all tax services
  •  all consulting engagements

Q18. Proper segregation of functional responsibilities calls for separation of

  •  custody, payment, and recording
  •  authorization, custody, and execution
  •  authorization, custody, and recording
  •  custody, execution, and payment

Q19. What does the degree of operating leverage represent?

  • how much the value of capital assets will change in response to a change in sales
  • how much the operating income of a company will change in response to a change in sales
  •  the valuation of assets to determine how much additional debt the company can borrow
  •  how much the sales of a company will change in response to a change in operating income

Q20. Which characteristic would concern an auditor about the risk of material misstatements arising from fraudulent financial reporting?

  •  limited employee turnover within the accounting and finance department
  •  management's disregard of regulations and regulatory authorities
  •  regularly reported bank reconciliations, including deposits in transit
  •  capital assets sold at a loss before being depreciated fully

Q21. An employee who makes a sale, ships the goods, and bills the customer violates which control activity?

  •  assignment of responsibility
  •  audit verification
  •  segregation of duties
  •  review and reconciliation

Q22. What trait distinguishes auditors from accountants?

  •  The auditor can interpret accounting principles applicable to the country in which the client operates.
  •  The auditor has extensive education beyond what is required for an accountant
  •  The auditor can adapt to a rapidly changing profession.
  •  The auditor has expertise in the gathering and interpretation of audit evidence.

Q23. What is the purpose of an operational audit?

  •  assessing the company's compliance with environmental laws and regulations
  •  evaluating whether the organization is meeting the metrics set by management in order to achieve the goals and objectives set forth by the board of directors
  •  assessing the organization's control mechanisms for overall efficiency and reliability
  •  evaluating compliance with applicable laws, regulations, policies, and procedures

Q24. Which statement is false?

  •  The balanced scorecard aligns an organization's operational activities with its mission.
  •  The balanced scorecard focuses on these four primary areas: financial, customer, internal process, and learning and growth.
  •  The balanced scorecard measures, tracks, and reports on a balance of qualitative and financial data and metrics.
  •  The balanced scorecard ensures the organization's profitability aligns with director compensation and dividend expectations.

Q25. Which choice is not a component of internal control?

  •  information and communication
  •  risk mitigation
  •  monitoring
  •  control environment

Q26. What is the difference between the cost of an asset and the accumulated depreciation for that asset?

  •  depreciation value
  •  prepaid asset
  •  depreciation expense
  •  book value

Q27. A company budgeted 1,200 washers, but only 1,000 are produced. It costs $10 to produce a widget. What is the materials variance?

  •  200
  •  2000
  •  350
  •  20

Q28. Who does an audit committee report to?

  •  external auditors
  •  senior management
  •  board of directors
  •  union of employee representatives



      DONT CLICK THIS - https://bit.ly/3F3Glqn

      Tuesday, January 4, 2022

      January 04, 2022

      Date Format Validation in Javascript

       


      There’re several different ways to handle Date values through the script, all depends on the exact need. In some cases, there’s a need to enter a date value manually, as text, yet to force it to be in a specific valid date format.


      Below is the javascript code to valdate date with given format. Add this code inside the script tag

      
      function ValidateDate(dt, format) {
      
          var isValid = true;
      
          if(dt.length != format.length) {
              isValid = false;
          }
      
          format = format.replace(/\ /g, "/").toLowerCase();
          dt = dt.replace(/\ /g, "/");
          var dateFormat = dt;
          //Get Day Value
          var day = 0;
          if(format.indexOf("dd") > -1) {
              var index = format.indexOf("dd"),
              day = dt.substring(index * 1 + 2);
            dateFormat=  dateFormat.replaceAt(index, "dd");
      
          } else if(format.indexOf("d") > -1) {
              var index = format.indexOf("dd"),
              day = dt.substring(inde, index * 1 + 1);
             dateFormat=  dateFormat.replaceAt(index, "d");
          } else {
              isValid = false;
          }
      
          //Get Month Value
          var month = 0;
          if(format.indexOf("mmm") > -1) {
              var index = format.indexOf("mmm"),
              month = dt.substring(index, index * 1 + 3);
            dateFormat=   dateFormat.replaceAt(index, "mmm");
          } else if(format.indexOf("mm") > -1) {
              var index = format.indexOf("mm"),
              month = dt.substring(index, index * 1 + 2);
             dateFormat=  dateFormat.replaceAt(index, "mm");
          }
          else {
              isValid = false;
          }
      
          var year = 0;
          if(format.indexOf("yyyy") > -1) {
              var index = format.indexOf("yyyy"),
              year = dt.substring(index, index * 1 + 4);
             dateFormat=  dateFormat.replaceAt(index, "yyyy");
          } else if(format.indexOf("yy") > -1) {
              var index = format.indexOf("yy"),
              year = dt.substring(index, index * 1 + 2);
            dateFormat=   dateFormat.replaceAt(index, "yy");
          }
          else {
              isValid = false;
          }
      
          if(dateFormat != format)
          {
              isValid = false;
          }
      
          console.log(day);
          console.log(month);
          console.log(year);
      	console.log(isValid);
      
      }
      String.prototype.replaceAt = function(index, replacement) {
          return this.substr(0, index) + replacement + this.substr(index + replacement.length);
      }
      
      ValidateDate("12-07-2017", "MM-DD-YYYY");
      ValidateDate("12-07-2017", "DD/MM/YYYY");
      ValidateDate("2017-07-12", "YYYY-MM-DD");
       
      January 04, 2022

      Heart shape using JavaScript and canvas

       




      HTML

      <canvas id="canvas" width="525" height="525"></canvas>
      

      Javascript

      var heart = [65, 66, 67, 72, 73, 74, 84, 85, 86, 87, 88, 91, 92, 93, 94, 95, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 266, 267, 268, 269, 270, 271, 272, 273, 287, 288, 289, 290, 291, 292, 308, 309, 310, 311, 329, 330];
      
      var nums;
      var canvas = document.getElementById('canvas');
      var context = canvas.getContext('2d');
      
      Array.matrix = function(numrows, numcols, initial) {
          var arr = [];
          for(var i = 0; i < numrows; ++i) {
              var columns = [];
              for(var j = 0; j < numcols; ++j) {
                  columns[j] = initial;
              }
              arr[i] = columns;
          }
          return arr;
      }
      
      function shuffleArray(array) {
          for(let i = array.length - 1; i > 0; i--) {
              let j = Math.floor(Math.random() * (i + 1));
              [array[i], array[j]] = [array[j], array[i]];
          }
          return array;
      }
      function animate(xPos, yPos, count) {
          var r = randomNumber(64, 254 - 64);
          var g = randomNumber(128, 255);
          var b = randomNumber(128, 255);
          var alpha = randomNumber(55, 85);
          //For heart Sharpe
          if(inArray(count, heart)) {
              r = randomNumber(128 + 64, 255);
              g = randomNumber(0, 63);
              b = randomNumber(0, 63);
              alpha = randomNumber(70, 100);
          }
          context.fillStyle = 'rgba(' + r + ',' + g + ',' + b + ',' + alpha + ')';
          context.fillRect(xPos, yPos, 25, 25);
      }
      function randomNumber(min, max) {
          return Math.floor(Math.random() * (max - min + 1) + min);
      }
      draw();
      function draw() {
          if(canvas.getContext) {
              nums = Array.matrix(400, 3, 0);
              var x = 0;
              var y = 0;
              var count = 0;
              for(var j = 0; j < 20; j++) {
                  for(var i = 0; i < 20; i++) {
                      nums[count][0] = x;
                      nums[count][1] = y;
                      nums[count][2] = count;
                      count += 1;
                      x += 26;
                  }
                  x = 0;
                  y += 26;
              }
              nums = shuffleArray(nums);
              for(var j = 0; j < nums.length; j++) {
                  doSetTimeout(j);
              }
          }
      }
      function doSetTimeout(i) {
          setTimeout(function() { animate(nums[i][0], nums[i][1], nums[i][2]); }, 10 * i);
      }
      function animate(xPos, yPos, count) {
          var r = randomNumber(64, 255 - 64);
          var g = randomNumber(128, 255);
          var b = randomNumber(128, 255);
          var alpha = randomNumber(55, 85);
          //For heart Sharpe
          if(inArray(count, heart)) {
              r = randomNumber(128 + 64, 255);
              g = randomNumber(0, 63);
              b = randomNumber(0, 63);
              alpha = randomNumber(70, 100);
          } else {
              context.globalAlpha = 0.6;
          }
      
          context.fillStyle = 'rgba(' + r + ',' + g + ',' + b + ',' + alpha + ')';
          fillRoundedRect(xPos, yPos, 25, 25, 4);
      }
      function fillRoundedRect(x, y, w, h, r) {
      
          context.beginPath();
          context
          context.moveTo(x + r, y);
          context
          context.lineTo(x + w - r, y);
          context
          context.quadraticCurveTo(x + w, y, x + w, y + r);
          context
          context.lineTo(x + w, y + h - r);
          context
          context.quadraticCurveTo(x + w, y + h, x + w - r, y + h);
          context
          context.lineTo(x + r, y + h);
          context
          context.quadraticCurveTo(x, y + h, x, y + h - r);
          context
          context.lineTo(x, y + r);
          context
          context.quadraticCurveTo(x, y, x + r, y);
          context
          context.fill();
      
      }
      function inArray(value, array) {
          var count = array.length;
          for(var i = 0; i < count; i++) {
              if(array[i] === value) { return true; }
          }
          return false;
      }
      

      Download source code from github Convas Love Heart


      DONT CLICK THIS - https://bit.ly/3F3Glqn

      January 04, 2022

      FizzBuzz Problem Solution with C#


        The "Fizz-Buzz test" is an interview question designed to help filter out the 99.5% of programming job candidates who can't seem to program their way out of a wet paper bag. The text of the programming assignment is as follows:

      "Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”."

      Method 1

      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      using System.Threading.Tasks;
      
      namespace TestConsole
      {
          class Program
          {
              static void Main(string[] args)
              {
                  for (int i = 1; i <= 100; i++)
                  {
                      if (i % 3 == 0 && i % 5 == 0)
                      {
                          Console.WriteLine("FizzBuzz");
                      }
                      else if (i % 3 == 0)
                      {
                          Console.WriteLine("Fizz");
                      }
                      else if (i % 5 == 0)
                      {
                          Console.WriteLine("Buzz");
                      }
                      else
                      {
                          Console.WriteLine(i);
                      }
                      
                  }
                  Console.ReadLine();
              }
          }
      }
      

      Method 2

      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      using System.Threading.Tasks;
      
      namespace TestConsole
      {
          class Program
          {
              static void Main(string[] args)
              {
                  for (int i = 1; i <= 100; i++)
                  {
                      string str = "";
                      if (i % 3 == 0)
                      {
                          str += "Fizz";
                      }
                      if (i % 5 == 0)
                      {
                          str += "Buzz";
                      }
                      if (str.Length == 0)
                      {
                          str = i.ToString();
                      }
                      Console.WriteLine(str);
      
                  }
                  Console.ReadLine();
              }
          }
      }
      

      Method 3 (Using Linq)

      using System;
      using System.Linq;
      
      namespace fizzbuzz
      {
          class Program
          {
              static void Main(string[] args)
              {
                  Enumerable.Range(1,100).ToList()
                      .ForEach(x =>
                      {
                          Console.WriteLine("{0}{1}{2}", 
                              x % 3 == 0 ? "Fizz" : "",
                              x% 5 == 0 ? "Buzz" : "",
                              x % 3 != 0 && x % 5 != 0 ? x.ToString() : "");
                      });
              }
          }
      }
      

      Thursday, December 30, 2021

      December 30, 2021

      C# Hello World - Your First C# Program

       C# Hello World - Your First C# Program


      The “Hello World!” program is often the first program we see when we dive into a new language. It simply prints Hello World! on the output screen.


        
      using System;
      
      public class HelloWorld
      {
          public static void Main(string[] args)
          {
              Console.WriteLine ("Hello Mono World");
          }
      }
        
      

      Output

      Hello World!

      Wednesday, December 29, 2021

      December 29, 2021

      C# Program to Check Whether the Entered Year is a Leap Year or Not





      This is a C# Program to check whether the entered year is a leap year or not.

      Problem Description

      This C# Program Checks Whether the Entered Year is a Leap Year or Not.

      Problem Solution

      When A year is divided by 4. If the remainder becomes 0 then the year is called a leap year.

      Program/Source Code

      Here is the source code of the C# Program to Check Whether the Entered Year is a Leap Year or Not. The C# program is successfully compiled and executed with Microsoft Visual Studio. 

        
      using System;
      public class Program
      {
          public static void Main(string[] args)
          {
              Console.WriteLine("Enter Year : ");  
              int Year = int.Parse(Console.ReadLine());  
              if (((Year % 4 == 0) && (Year % 100 != 0)) || (Year % 400 == 0)) 
                  Console.WriteLine("{0} is a Leap Year.", Year);  
              else 
                  Console.WriteLine("{0} is not a Leap Year.", Year);  
              
              Console.ReadLine();  
          }
      }
        
      
      December 29, 2021

      C# Program to Swap 2 Numbers



      This is a C# Program to swap 2 numbers.

      Problem Description

      This C# Program Swaps 2 Numbers.

      Problem Solution

      It obtains two numbers from the user and swaps the numbers using a temporary variable.

      Program/Source Code

      Here is the source code of the C# program that swaps two numbers. The C# program is successfully compiled and executed with Microsoft Visual Studio. 


        
        /*
       * C# Program to Swap two Numbers
       */
      using System;
      using System.Collections.Generic;
      using System.Linq;
      using System.Text;
      namespace Program
      {
          class Program
          {
              static void Main(string[] args)
              {
                  int num1, num2, temp;
                  Console.Write("\nEnter the First Number : ");
                  num1 = int.Parse(Console.ReadLine());
                  Console.Write("\nEnter the Second Number : ");
                  num2 = int.Parse(Console.ReadLine());
                  temp = num1;
                  num1 = num2;
                  num2 = temp;
                  Console.Write("\nAfter Swapping : ");
                  Console.Write("\nFirst Number : "+ num1);
                  Console.Write("\nSecond Number : "+ num2);
                  Console.Read();
              }
          }
      }