300+ TOP Computer Organization & Architecture MCQs and Answers for AKTU

300+ TOP Computer Organization & Architecture MCQs and Answers Computer Organization and Architecture Multiple Choice Questions 1. In Reverse Polish notation, expression A*B+C*D is written as(A) AB*CD*+(B) A*BCD*+(C) AB*CD+*(D) A*B*CD+Answer:…

Continue Reading300+ TOP Computer Organization & Architecture MCQs and Answers for AKTU

How to define Routes In laravel (web.php)

How to define Routes In laravel (web.php) <?php use App\Http\Controllers\BankController; use App\Http\Controllers\HomeController; use Illuminate\Support\Facades\Route; Route::get('/', [HomeController::class, 'index']); Route::group(['prefix' => 'bank'], function(){ Route::get('/index', [BankController::class, 'index']); Route::get('/create', [BankController::class, 'create']); Route::post('/store', [BankController::class, 'store']);…

Continue ReadingHow to define Routes In laravel (web.php)

How to define controller in laravel

How to define controller in laravel <?php namespace App\Http\Controllers; use App\Models\bank; use App\Models\logger; use App\Models\bank_account; use Illuminate\Http\Request; use Illuminate\Support\Facades\Auth; class BankController extends Controller { public function __construct() { $this->middleware('auth'); }…

Continue ReadingHow to define controller in laravel

How to define Model In Laravel

How to define Model In Laravel <?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class bank extends Model { protected $table='banks'; protected $fillable=['beneficiary_name','beneficiary_address','bank_nickname','bank_name', 'bank_address','zip_code','country','currency','account_number', 'nickname', 'swift_code', 'remarks','company_name','company_email','prefix','declaration_content','instructions_title', 'instructions_content','logo','status']; } Additional Reading…

Continue ReadingHow to define Model In Laravel